Explorar el Código

do not enable HSTS for subdomains

mplx hace 8 años
padre
commit
37323320c8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      nginx.tmpl

+ 1 - 1
nginx.tmpl

@@ -158,7 +158,7 @@ server {
 	{{ end }}
 
 	{{ if (ne $https_method "noredirect") }}
-	add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
+	add_header Strict-Transport-Security "max-age=31536000";
 	{{ end }}
 
 	{{ if (exists (printf "/etc/nginx/vhost.d/%s" $host)) }}