@@ -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" }}