don't redirect http aliases in final config
This commit is contained in:
parent
70acecaa4f
commit
1614afeaf4
@ -487,8 +487,10 @@ server {
|
|||||||
include /etc/nginx/vhost.d/default;
|
include /etc/nginx/vhost.d/default;
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
location / {
|
||||||
return 301 https://{{ $first_host }}$request_uri;
|
return 301 https://{{ $first_host }}$request_uri;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user