Ver código fonte

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

andryyy 7 anos atrás
pai
commit
e6625501e7
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      data/conf/nginx/site.conf

+ 1 - 1
data/conf/nginx/site.conf

@@ -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;