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:
parent
83e3b25c46
commit
0780e636f9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue