mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
Remove Content-Security-Policy, it's annoying and not necessary
This commit is contained in:
parent
51e7ea5e78
commit
3a771ca83a
1 changed files with 0 additions and 3 deletions
|
|
@ -35,9 +35,6 @@ 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' data: https://p.typekit.net; font-src 'self' https://use.typekit.net https://netdna.bootstrapcdn.com; 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; base-uri 'none'; frame-ancestors 'none'; form-action 'none'"
|
||||
|
||||
# https://infosec.mozilla.org/guidelines/web_security#referrer-policy
|
||||
Header set Referrer-Policy "no-referrer, strict-origin-when-cross-origin"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue