HSTS off by default

Consensus to disable HSTS by default.
This commit is contained in:
Daniel Marquard 2014-10-16 05:40:48 -04:00
parent 5525eebf2b
commit 99cdb58475
1 changed files with 3 additions and 2 deletions

View File

@ -30,8 +30,9 @@ ssl_session_timeout 24h;
# Use a higher keepalive timeout to reduce the need for repeated handshakes
keepalive_timeout 300; # up from 75 secs default
# remember the certificate for a year and automatically connect to HTTPS
add_header Strict-Transport-Security max-age=31536000;
# HSTS (HTTP Strict Transport Security)
# This header tells browsers to cache the certificate for a year and to connect exclusively via HTTPS.
#add_header Strict-Transport-Security max-age=31536000;
# This default SSL certificate will be served whenever the client lacks support for SNI (Server Name Indication).
# Make it a symlink to the most important certificate you have, so that users of IE 8 and below on WinXP can see your main site without SSL errors.