Skip to content

Commit cacc57f

Browse files
author
Kristan Kenney
committed
Update v-add-web-domain-ssl-force
1 parent 88ecae9 commit cacc57f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ if [ ! -z "$PROXY_SYSTEM" ] || [ ! -z "$PROXY" ]; then
4747
if ! grep --quiet "forcessl" $HESTIA/data/templates/web/nginx/default.tpl; then
4848
$BIN/v-update-web-templates
4949
fi
50-
forcessl="/home/$user/conf/web/forcessl.nginx.$domain.conf"
50+
forcessl="/home/$user/conf/web/$domain/$PROXY_SYSTEM.force-ssl.conf"
5151
else
5252
if ! grep --quiet "forcessl" $HESTIA/data/templates/web/nginx/default.tpl; then
5353
$BIN/v-update-web-templates
5454
fi
55-
forcessl="/home/$user/conf/web/forcessl.apache2.$domain.conf"
55+
forcessl="/home/$user/conf/web/$domain/$WEB_SYSTEM.force-ssl.conf"
5656
fi
5757

5858
# Insert redirect commands

0 commit comments

Comments
 (0)