Skip to content

Commit 5df99d8

Browse files
author
Kristan Kenney
committed
Fix links to paths in v-add-mail-domain-ssl-force
1 parent 5022278 commit 5df99d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/v-add-mail-domain-ssl-force

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,13 @@ fi
5959
# Insert redirect commands
6060
if [ ! -z $PROXY ]; then
6161
echo 'return 301 https://$server_name$request_uri;' > $forcessl
62+
ln -s $forcessl /etc/$PROXY_SYSTEM/conf.d/domains/$WEBMAIL_ALIAS.$domain.forcessl.conf
6263
else
6364
echo 'RewriteEngine On' > $forcessl
6465
echo 'RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]' >> $forcessl
66+
ln -s $forcessl /etc/$WEB_SYSTEM/conf.d/domains/$WEBMAIL_ALIAS.$domain.forcessl.conf
6567
fi
6668

67-
6869
#----------------------------------------------------------#
6970
# Hestia #
7071
#----------------------------------------------------------#

0 commit comments

Comments
 (0)