Merge pull request 'Use $host in the http -> https redirection.' (#22) from adellam/ansible-role-wordpress:master into master
Reviewed-on: ISTI-ansible-roles/ansible-role-wordpress#22
This commit is contained in:
commit
8f449b8510
|
@ -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