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 0824701 commit d0ac9b0Copy full SHA for d0ac9b0
bin/v-add-web-domain-ssl-force
@@ -68,6 +68,10 @@ fi
68
# Hestia #
69
#----------------------------------------------------------#
70
71
+if [ -z "$FORCESSL" ]; then
72
+ add_object_key "web" 'DOMAIN' "$domain" 'FORCESSL' 'SSL'
73
+fi
74
+
75
# Set forcessl flag to enabled
76
update_object_value 'web' 'DOMAIN' "$domain" '$FORCESSL' 'yes'
77
bin/v-delete-web-domain-ssl-force
@@ -49,6 +49,10 @@ fi
49
50
51
52
53
54
55
56
update_object_value 'web' 'DOMAIN' "$domain" '$FORCESSL' 'no'
57
58
# Restart services if requested
0 commit comments