Merge pull request 'Use $host in the http -> https redirection.' (#22) from adellam/ansible-role-wordpress:master into master

Reviewed-on: #22
This commit is contained in:
Andrea Dell'Amico 2021-06-07 13:51:48 +02:00
commit 8f449b8510
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;
}
}