Просмотр исходного кода

Increase HSTS max-age to 31536000 (#3782)

Adjust for new recommandations.
Christian Oder 2 лет назад
Родитель
Сommit
7a1edaced7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      bin/v-add-web-domain-ssl-hsts

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

@@ -56,7 +56,7 @@ else
 	hstsconf="$HOMEDIR/$user/conf/web/$domain/$PROXY_SYSTEM.hsts.conf"
 fi
 
-echo 'add_header Strict-Transport-Security "max-age=15768000;" always;' > $hstsconf
+echo 'add_header Strict-Transport-Security "max-age=31536000;" always;' > $hstsconf
 
 chown root:$user $hstsconf
 chmod 640 $hstsconf