mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
add Content-Security-Policy header
This commit is contained in:
parent
0eb0bea3ed
commit
72867fe3fb
1 changed files with 3 additions and 0 deletions
|
|
@ -35,6 +35,9 @@ Header set X-Content-Type-Options "nosniff"
|
|||
# Block site from being framed
|
||||
Header set X-Frame-Options "DENY"
|
||||
|
||||
# Content Security Policy generated by Mozilla's CSP Toolkit
|
||||
Header set Content-Security-Policy "default-src 'none'; img-src 'self' https://p.typekit.net; script-src 'self' 'unsafe-inline' https://ajax.googleapis.com https://api.github.com https://gist.github.com https://use.typekit.net; style-src 'unsafe-inline' https://assets-cdn.github.com https://netdna.bootstrapcdn.com"
|
||||
|
||||
################
|
||||
### Rewrites ###
|
||||
################
|
||||
|
|
|
|||
Loading…
Reference in a new issue