File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -89,11 +89,13 @@ NameVirtualHost *:<tmpl_var name="vhost_port">
8989
9090 <IfModule mod_headers.c>
9191 # ISPConfig 3.1 currently requires unsafe-line for both scripts and styles, as well as unsafe-eval
92+ Header set Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src 'self' data:; object-src 'none'"
9293 <tmpl_var name="ssl_comment">Header set Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src 'self' data:; object-src 'none'; upgrade-insecure-requests"
9394 Header set X-Content-Type-Options: nosniff
9495 Header set X-Frame-Options: SAMEORIGIN
9596 Header set X-XSS-Protection: "1; mode=block"
96- <tmpl_var name="ssl_comment">Header always edit Set-Cookie (.*) "$1; HTTPOnly; Secure"
97+ Header always edit Set-Cookie (.*) "$1; HTTPOnly"
98+ <tmpl_var name="ssl_comment">Header always edit Set-Cookie (.*) "$1; Secure"
9799 <IfVersion >= 2.4.7>
98100 Header setifempty Strict-Transport-Security "max-age=15768000"
99101 </IfVersion>
You can’t perform that action at this time.
0 commit comments