Skip to content

Commit eada920

Browse files
author
Till Brehm
committed
Merge branch 'patch-3' into 'stable-3.1'
Mulitple HSTS headers are not allowed, should either unset before adding new, or set conditionally. See merge request ispconfig/ispconfig3!822
2 parents e2465bd + ca7c77d commit eada920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/tpl/apache_ispconfig.vhost.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ NameVirtualHost *:<tmpl_var name="vhost_port">
8888
</tmpl_if>
8989

9090
<IfModule mod_headers.c>
91-
Header always add Strict-Transport-Security "max-age=15768000"
91+
Header setifempty Strict-Transport-Security "max-age=15768000"
9292
RequestHeader unset Proxy early
9393
</IfModule>
9494

0 commit comments

Comments
 (0)