Skip to content

Instantly share code, notes, and snippets.

@kaworu
Created February 14, 2019 08:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaworu/24b77c6a7443f11888e2bef3f60c252f to your computer and use it in GitHub Desktop.
Save kaworu/24b77c6a7443f11888e2bef3f60c252f to your computer and use it in GitHub Desktop.
/etc/nginx/letsencrypt.location
# from https://community.letsencrypt.org/t/using-the-webroot-domain-verification-method/1445/7
location /.well-known/acme-challenge {
alias /etc/letsencrypt/webrootauth/.well-known/acme-challenge;
location ~ /.well-known/acme-challenge/(.*) {
add_header Content-Type application/jose+json;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment