mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
Update force-https.patch
This commit is contained in:
parent
797ae8e515
commit
505c4085f5
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
server_name %domain_idn% %alias_idn%;
|
||||
location / {
|
||||
- rewrite ^(.*) https://%domain_idn%$1 permanent;
|
||||
+ rewrite ^(.*) https://$host%$1 permanent;
|
||||
+ rewrite ^(.*) https://$host$1 permanent;
|
||||
}
|
||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue