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