Ver código fonte

Merge pull request #566 from mplx/patch/hsts-no-subdomains

do not enable HSTS for subdomains
Jason Wilder 8 anos atrás
pai
commit
f02bc98a6e
1 arquivos alterados com 1 adições e 1 exclusões
  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)) }}