Skip to content

Instantly share code, notes, and snippets.

@kaworu
Created January 26, 2017 09:00
Show Gist options
  • Save kaworu/6aca214a3de12eb1369488f43f66595c to your computer and use it in GitHub Desktop.
Save kaworu/6aca214a3de12eb1369488f43f66595c 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 /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