Use $host in the http -> https redirection. #22

Merged
adellam merged 1 commits from :master into master 2021-06-07 13:51:49 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ server {
{% endif %}
location / {
return 301 https://{{ item.virthost }}$request_uri;
return 301 https://$host$request_uri;
}
}