1
0
mirror of https://github.com/nginx-proxy/nginx-proxy synced 2024-09-22 11:50:46 +02:00

do not enable HSTS for subdomains

This commit is contained in:
mplx 2016-09-12 09:46:59 +02:00 committed by GitHub
parent 40d433ae80
commit 37323320c8

View File

@ -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)) }}