Skip to content

Commit 36684dc

Browse files
committed
Mulitple HSTS headers are not allowed, should either unset before adding new, or set conditionally.
1 parent e2465bd commit 36684dc

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 add Strict-Transport-Security "max-age=15768000"
9292
RequestHeader unset Proxy early
9393
</IfModule>
9494

0 commit comments

Comments
 (0)