1
0
Fork 0
mirror of https://github.com/nginx-proxy/nginx-proxy synced 2024-05-08 08:36:09 +02:00

Remove unnecessary tabs

This commit is contained in:
Unchun Yang 2021-10-23 00:08:32 +09:00 committed by GitHub
parent 83e3b25c46
commit 0780e636f9
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -266,7 +266,7 @@ server {
listen [::]:{{ $external_http_port }} {{ $default_server }};
{{ end }}
{{ $access_log }}
# Do not HTTPS redirect Let'sEncrypt ACME challenge
location ^~ /.well-known/acme-challenge/ {
auth_basic off;
@ -276,7 +276,7 @@ server {
try_files $uri =404;
break;
}
location / {
{{ if eq $external_https_port "443" }}
return 301 https://$host$request_uri;