Skip to content

Commit 3732332

Browse files
authored
do not enable HSTS for subdomains
1 parent 40d433a commit 3732332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ server {
158158
{{ end }}
159159

160160
{{ if (ne $https_method "noredirect") }}
161-
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
161+
add_header Strict-Transport-Security "max-age=31536000";
162162
{{ end }}
163163

164164
{{ if (exists (printf "/etc/nginx/vhost.d/%s" $host)) }}

0 commit comments

Comments
 (0)