Removed "includeSubDomains"

As a best practice, Nginx should only direct clients to use the certificate on specified domains. This is because not all servers using other subdomains necessarily listen on 443 and because, unless it is a wildcard certificate, it likely won't be valid on subdomains other than WWW.
This commit is contained in:
Daniel Marquard 2014-10-14 00:16:22 -04:00
parent 4ec8f51276
commit 5525eebf2b
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ ssl_session_timeout 24h;
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; includeSubDomains';
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.