Fix #1138 for manager

This commit is contained in:
Xavier Guimard 2017-01-18 20:13:12 +00:00
parent ab46d65291
commit d52efb4480
3 changed files with 10 additions and 2 deletions

View File

@ -11,6 +11,9 @@
LogLevel notice
<IfModule mod_headers.c>
header set Content-Security-Policy "default-src 'self';"
header set X-Content-Type-Options nosniff
header set X-Frame-Options DENY
header set X-XSS-Protection "1; mode=block"
</IfModule>
#ErrorLog ${APACHE_LOG_DIR}/lm_err.log
#CustomLog ${APACHE_LOG_DIR}/lm.log combined
@ -102,4 +105,3 @@
# Uncomment this if site if you use SSL only
#Header set Strict-Transport-Security 15768000
</VirtualHost>

View File

@ -11,6 +11,9 @@
LogLevel notice
<IfModule mod_headers.c>
header set Content-Security-Policy "default-src 'self';"
header set X-Content-Type-Options nosniff
header set X-Frame-Options DENY
header set X-XSS-Protection "1; mode=block"
</IfModule>
#ErrorLog ${APACHE_LOG_DIR}/lm_err.log
#CustomLog ${APACHE_LOG_DIR}/lm.log combined

View File

@ -11,6 +11,9 @@
LogLevel notice
<IfModule mod_headers.c>
header set Content-Security-Policy "default-src 'self';"
header set X-Content-Type-Options nosniff
header set X-Frame-Options DENY
header set X-XSS-Protection "1; mode=block"
</IfModule>
#ErrorLog ${APACHE_LOG_DIR}/lm_err.log
#CustomLog ${APACHE_LOG_DIR}/lm.log combined
@ -58,7 +61,7 @@
<Location />
Order Deny,Allow
Allow from all
Allow from all
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript text/css