diff --git a/nginx.tmpl b/nginx.tmpl index fa23f50..af06d0f 100644 --- a/nginx.tmpl +++ b/nginx.tmpl @@ -345,15 +345,7 @@ server { {{ end }} {{ $access_log }} - # Do not HTTPS redirect Let'sEncrypt ACME challenge - location ^~ /.well-known/acme-challenge/ { - auth_basic off; - auth_request off; - allow all; - root /usr/share/nginx/html; - try_files $uri =404; - break; - } + location / { {{ if eq $external_https_port "443" }}