Skip to content

Instantly share code, notes, and snippets.

@anon5r
Created June 30, 2017 09:43
Show Gist options
  • Save anon5r/b6d3e49d7f1f670f153a46cce3dccd75 to your computer and use it in GitHub Desktop.
Save anon5r/b6d3e49d7f1f670f153a46cce3dccd75 to your computer and use it in GitHub Desktop.
Let's Encrypt common config file for nginx
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