Use $host in the http -> https redirection.
This commit is contained in:
parent
e4f15849a3
commit
fab506601d
|
@ -56,7 +56,7 @@ server {
|
|||
{% endif %}
|
||||
|
||||
location / {
|
||||
return 301 https://{{ item.virthost }}$request_uri;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue