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.
2 parents 9169653 + 3ed3f80 commit cebf4bdCopy full SHA for cebf4bd
bin/v-change-web-domain-hsts
@@ -54,6 +54,7 @@ fi
54
55
if [ "$status" = "on" ]; then
56
echo 'add_header Strict-Transport-Security "max-age=15768000;" always;' > $hstsconf
57
+ nginx -s reload
58
echo "HTTP Strict Transport Security (HSTS) turned on for $domain."
59
elif [ "$status" = "off" ]; then
60
rm -f $hstsconf
@@ -69,7 +70,7 @@ fi
69
70
#----------------------------------------------------------#
71
72
# Logging
-log_history "Enabled HTTP Strict Transport Security on $domain."
73
+log_history "Turned HTTP Strict Transport Security $status for $domain."
74
log_event "$OK" "$ARGUMENTS"
75
76
exit
0 commit comments