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.
1 parent 11621df commit 1cddf84Copy full SHA for 1cddf84
bin/v-add-web-domain-ssl-force
@@ -55,13 +55,7 @@ else
55
forcessl="/home/$user/conf/web/forcessl.apache2.$domain.conf"
56
fi
57
58
-# Check if force SSL already exists
59
-if [ -f "$forcessl" ]; then
60
- echo "Error: Rewrite is already enabled"
61
- exit $E_EXIST
62
-fi
63
-
64
-# Insert rewrite commands
+# Insert redirect commands
65
if [ ! -z $PROXY ]; then
66
echo 'return 301 https://$server_name$request_uri;' > $forcessl
67
else
0 commit comments