Commit 6d28d421 authored by Till Brehm's avatar Till Brehm

Merge branch 'patch-3' into 'stable-3.1'

Update apache_ispconfig.vhost.master

See merge request ispconfig/ispconfig3!828
parents 74a297a2 3b44e5d4
......@@ -94,7 +94,12 @@ NameVirtualHost *:<tmpl_var name="vhost_port">
Header set X-Frame-Options: SAMEORIGIN
Header set X-XSS-Protection: "1; mode=block"
Header always edit Set-Cookie (.*) "$1; HTTPOnly; Secure"
Header setifempty Strict-Transport-Security "max-age=15768000"
<IfVersion >= 2.4.7>
Header setifempty Strict-Transport-Security "max-age=15768000"
</IfVersion>
<IfVersion < 2.4.7>
Header set Strict-Transport-Security "max-age=15768000"
</IfVersion>
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