don't redirect http aliases in final config

This commit is contained in:
Hannes Happle 2020-07-31 15:32:40 +02:00
parent 70acecaa4f
commit 1614afeaf4
No known key found for this signature in database
GPG key ID: A5399EF17B215579

View file

@ -487,7 +487,9 @@ server {
include /etc/nginx/vhost.d/default;
{{ end }}
return 301 https://{{ $first_host }}$request_uri;
location / {
return 301 https://{{ $first_host }}$request_uri;
}
}
{{ end }}