Remove CSP stuff from .htaccess

😢 Seems like Apache is inconsistent fun between versions. Let's remove it thus for now.
This commit is contained in:
Lukas Reschke 2016-01-08 11:31:42 +01:00
parent 48ae3997d4
commit 28165876fc
1 changed files with 0 additions and 7 deletions

View File

@ -13,13 +13,6 @@
Header set X-Robots-Tag "none" Header set X-Robots-Tag "none"
Header set X-Frame-Options "SAMEORIGIN" Header set X-Frame-Options "SAMEORIGIN"
SetEnv modHeadersAvailable true SetEnv modHeadersAvailable true
<IfModule mod_version.c>
<IfVersion >= 2.4.7>
# Add CSP header if not set, used for static resources
Header always setifempty Content-Security-Policy "default-src 'none'; style-src 'self' 'unsafe-inline'; script-src 'self'"
</IfVersion>
</IfModule>
</IfModule> </IfModule>
# Add cache control for CSS and JS files # Add cache control for CSS and JS files