Merge pull request #334 from veitw/fix-duplicate-hsts-header

Remove duplicate HSTS header on Apache if mod_headers is loaded
This commit is contained in:
the-djmaze 2022-04-20 07:41:41 +02:00 committed by GitHub
commit 5135aa64c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@
# Header set Cache-Control "public, max-age=31536000"
# Header set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src 'self' data:; style-src 'self' 'unsafe-inline'"
# Header set Referrer-Policy "no-referrer"
Header set Strict-Transport-Security "max-age=31536000"
# Header set Strict-Transport-Security "max-age=31536000"
Header set imagetoolbar "no"
# Header set X-Content-Type-Options "nosniff"
# Header set X-Frame-Options "DENY"