mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 01:38:15 +00:00
Remove unnecessary tabs
This commit is contained in:
parent
83e3b25c46
commit
0780e636f9
@ -266,7 +266,7 @@ server {
|
|||||||
listen [::]:{{ $external_http_port }} {{ $default_server }};
|
listen [::]:{{ $external_http_port }} {{ $default_server }};
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ $access_log }}
|
{{ $access_log }}
|
||||||
|
|
||||||
# Do not HTTPS redirect Let'sEncrypt ACME challenge
|
# Do not HTTPS redirect Let'sEncrypt ACME challenge
|
||||||
location ^~ /.well-known/acme-challenge/ {
|
location ^~ /.well-known/acme-challenge/ {
|
||||||
auth_basic off;
|
auth_basic off;
|
||||||
@ -276,7 +276,7 @@ server {
|
|||||||
try_files $uri =404;
|
try_files $uri =404;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
{{ if eq $external_https_port "443" }}
|
{{ if eq $external_https_port "443" }}
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://$host$request_uri;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user