Created
February 14, 2019 08:14
-
-
Save kaworu/24b77c6a7443f11888e2bef3f60c252f to your computer and use it in GitHub Desktop.
/etc/nginx/letsencrypt.location
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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