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 c62cf92 commit 6fd5ce2Copy full SHA for 6fd5ce2
func/rebuild.sh
@@ -257,6 +257,17 @@ rebuild_web_domain_conf() {
257
fi
258
259
260
+ # Refresh HTTPS redirection if previously enabled
261
+ if [ "$SSL_FORCE" = 'yes' ]; then
262
+ $BIN/v-delete-web-domain-ssl-force $user $domain no
263
+ $BIN/v-add-web-domain-ssl-force $user $domain yes
264
+ fi
265
+
266
+ if [ "$SSL_HSTS" = 'yes' ]; then
267
+ $BIN/v-delete-web-domain-ssl-hsts $user $domain no
268
+ $BIN/v-add-web-domain-ssl-hsts $user $domain yes
269
270
271
# Adding proxy configuration
272
if [ ! -z "$PROXY_SYSTEM" ] && [ ! -z "$PROXY" ]; then
273
conf="$HOMEDIR/$user/conf/web/$domain/$PROXY_SYSTEM.conf"
0 commit comments