Skip to content

Instantly share code, notes, and snippets.

@kaworu
Created January 21, 2016 14:58
Show Gist options
  • Save kaworu/6990292f4b9e73349e69 to your computer and use it in GitHub Desktop.
Save kaworu/6990292f4b9e73349e69 to your computer and use it in GitHub Desktop.
# from https://community.letsencrypt.org/t/using-the-webroot-domain-verification-method/1445/7
location /.well-known/acme-challenge {
alias /usr/local/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