Skip to content

Instantly share code, notes, and snippets.

@mrkbr
Created December 30, 2019 09:04
Show Gist options
  • Select an option

  • Save mrkbr/459acba931e96b11e0ed9f1a95564be6 to your computer and use it in GitHub Desktop.

Select an option

Save mrkbr/459acba931e96b11e0ed9f1a95564be6 to your computer and use it in GitHub Desktop.
typo3 config add headers
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