Created
December 30, 2019 09:04
-
-
Save mrkbr/459acba931e96b11e0ed9f1a95564be6 to your computer and use it in GitHub Desktop.
typo3 config add headers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| config { | |
| additionalHeaders { | |
| ### https://securityheaders.com/ | |
| 1.header = Server: | |
| 5.header = X-Powered-By: | |
| 10.header = strict-transport-security:max-age=31536000 | |
| 20.header = X-Frame-Options: SAMEORIGIN | |
| 30.header = X-Xss-Protection: 1; mode=block | |
| 40.header = X-Content-Type-Options: nosniff | |
| 50.header = Referrer-Policy:strict-origin | |
| 60.header = Content-Security-Policy: default-src 'unsafe-inline' data: | |
| 70.header = Feature-Policy: vibrate 'self'; push *; camera 'none' | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment