|
@@ -345,15 +345,7 @@ server {
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ $access_log }}
|
|
{{ $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 / {
|
|
location / {
|
|
{{ if eq $external_https_port "443" }}
|
|
{{ if eq $external_https_port "443" }}
|