diff --git a/nginx.tmpl b/nginx.tmpl index 18f943a..2c3f36c 100644 --- a/nginx.tmpl +++ b/nginx.tmpl @@ -251,8 +251,9 @@ server { access_log /var/log/nginx/access.log vhost; # Do not HTTPS redirect Let'sEncrypt ACME challenge - location /.well-known/acme-challenge/ { + location ^~ /.well-known/acme-challenge/ { auth_basic off; + auth_request off; allow all; root /usr/share/nginx/html; try_files $uri =404;