mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 01:38:15 +00:00
Merge pull request #1807 from ucyang/pr/remove-tab
Remove unnecessary tabs
This commit is contained in:
commit
d29a53dc1f
@ -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…
x
Reference in New Issue
Block a user