[Nginx] Remove Strict-Transport-Security for subdomains (prevented autoconfig from working without TLS)

This commit is contained in:
andryyy 2018-11-12 09:53:18 +01:00
parent 1404fc50f4
commit e6625501e7

View File

@ -30,7 +30,7 @@ server {
ssl_session_timeout 1d;
ssl_session_tickets off;
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains";
add_header Strict-Transport-Security "max-age=15768000;";
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;