diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-11-11 06:12:26 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-11-11 06:12:26 +0000 |
commit | 057a9017b3852f10e76165b70b907d9af458c301 (patch) | |
tree | 4f0264e1e32143812cd574d35c5ef29937c6e71f /installation/pleroma-apache.conf | |
parent | f516e317ea639bf0d2cdf3d1f1e2e00b5b7c90ef (diff) | |
download | pleroma-057a9017b3852f10e76165b70b907d9af458c301.tar.gz pleroma-057a9017b3852f10e76165b70b907d9af458c301.zip |
example configs: remove obsolete CSP configuration
Diffstat (limited to 'installation/pleroma-apache.conf')
-rw-r--r-- | installation/pleroma-apache.conf | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/installation/pleroma-apache.conf b/installation/pleroma-apache.conf index fb777983e..cbb165064 100644 --- a/installation/pleroma-apache.conf +++ b/installation/pleroma-apache.conf @@ -34,12 +34,6 @@ CustomLog ${APACHE_LOG_DIR}/access.log combined SSLCompression off SSLSessionTickets off - Header always set X-Xss-Protection "1; mode=block" - Header always set X-Frame-Options "DENY" - Header always set X-Content-Type-Options "nosniff" - Header always set Referrer-Policy same-origin - Header always set Content-Security-Policy "default-src 'none'; base-uri 'self'; form-action 'self'; frame-ancestors 'none'; img-src 'self' data: https:; media-src 'self' https:; style-src 'self' 'unsafe-inline'; font-src 'self'; script-src 'self'; connect-src 'self' wss://${servername}; upgrade-insecure-requests;" - # Uncomment this only after you get HTTPS working. # Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains" |