Explorar el Código

Merge pull request #1013 from hestiacp/fix/2020-07_remove_hsts_output

Remove ssl hsts output to fit v-script defaults.
Raphael Schneeberger hace 5 años
padre
commit
1e69505ec9
Se han modificado 2 ficheros con 1 adiciones y 2 borrados
  1. 0 1
      bin/v-add-web-domain-ssl-hsts
  2. 1 1
      bin/v-delete-web-domain-ssl-hsts

+ 0 - 1
bin/v-add-web-domain-ssl-hsts

@@ -54,7 +54,6 @@ else
 fi
 
 echo 'add_header Strict-Transport-Security "max-age=15768000;" always;' > $hstsconf
-echo "HTTP Strict Transport Security (HSTS) turned on for $domain."
 
 
 #----------------------------------------------------------#

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

@@ -49,7 +49,7 @@ else
 fi
 
 rm -f $hstsconf
-echo "HTTP Strict Transport Security (HSTS) turned off for $domain."
+
 
 #----------------------------------------------------------#
 #                       Hestia                             #