1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-02-24 09:48:14 +00:00

Merge pull request #1807 from ucyang/pr/remove-tab

Remove unnecessary tabs
This commit is contained in:
Nicolas Duchon 2021-12-11 16:08:30 +01:00 committed by GitHub
commit d29a53dc1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;