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

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

andryyy 7 лет назад
Родитель
Сommit
e6625501e7
1 измененных файлов с 1 добавлено и 1 удалено
  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;