فهرست منبع

do not enable HSTS for subdomains

mplx 8 سال پیش
والد
کامیت
37323320c8
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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)) }}