We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf1bef4 + 08e8255 commit 16ed34eCopy full SHA for 16ed34e
bin/v-add-web-domain-ssl-force
@@ -57,7 +57,7 @@ fi
57
58
# Insert redirect commands
59
if [ ! -z $PROXY ]; then
60
- echo 'return 301 https://$server_name$request_uri;' > $forcessl
+ echo 'return 301 https://$host$request_uri;' > $forcessl
61
else
62
echo 'RewriteEngine On' > $forcessl
63
echo 'RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]' >> $forcessl
0 commit comments