Created
June 30, 2017 09:43
-
-
Save anon5r/b6d3e49d7f1f670f153a46cce3dccd75 to your computer and use it in GitHub Desktop.
Let's Encrypt common config file for nginx
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
location ^~ /.well-known/acme-challenge/ { | |
root /var/www/letsencrypt; | |
} | |
location = /.well-known/acme-challenge/ { | |
return 404; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment