Skip to content

Commit 1e69505

Browse files
authored
Merge pull request hestiacp#1013 from hestiacp/fix/2020-07_remove_hsts_output
Remove ssl hsts output to fit v-script defaults.
2 parents f0eaa05 + b8d9fcd commit 1e69505

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ else
5454
fi
5555

5656
echo 'add_header Strict-Transport-Security "max-age=15768000;" always;' > $hstsconf
57-
echo "HTTP Strict Transport Security (HSTS) turned on for $domain."
5857

5958

6059
#----------------------------------------------------------#

bin/v-delete-web-domain-ssl-hsts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ else
4949
fi
5050

5151
rm -f $hstsconf
52-
echo "HTTP Strict Transport Security (HSTS) turned off for $domain."
52+
5353

5454
#----------------------------------------------------------#
5555
# Hestia #

0 commit comments

Comments
 (0)