Commit 36684dcf authored by Jesse Norell's avatar Jesse Norell

Mulitple HSTS headers are not allowed, should either unset before adding new, or set conditionally.

parent e2465bd7
......@@ -88,7 +88,7 @@ NameVirtualHost *:<tmpl_var name="vhost_port">
</tmpl_if>
<IfModule mod_headers.c>
Header always add Strict-Transport-Security "max-age=15768000"
Header setifempty add Strict-Transport-Security "max-age=15768000"
RequestHeader unset Proxy early
</IfModule>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment