Update force-https.patch

This commit is contained in:
myvesta 2023-03-25 18:30:41 +01:00 committed by GitHub
commit 505c4085f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}