mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2024-12-25 07:29:37 -05:00
Add Permissions-Policy HTTP header (#2408)
Signed-off-by: Freddy <freddy@privacyguides.org> Signed-off-by: Daniel Gray <dngray@privacyguides.org>
This commit is contained in:
parent
a890fc47af
commit
7011b007a0
@ -36,6 +36,7 @@
|
|||||||
X-Content-Type-Options = "nosniff"
|
X-Content-Type-Options = "nosniff"
|
||||||
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"
|
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"
|
||||||
Content-Security-Policy = "default-src 'none'; script-src https://www.privacyguides.org 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; font-src 'self' data:; img-src data: 'self'; connect-src https://api.github.com https://*.privacyguides.net 'self'; frame-src https://*.privacyguides.net; frame-ancestors 'none'"
|
Content-Security-Policy = "default-src 'none'; script-src https://www.privacyguides.org 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; font-src 'self' data:; img-src data: 'self'; connect-src https://api.github.com https://*.privacyguides.net 'self'; frame-src https://*.privacyguides.net; frame-ancestors 'none'"
|
||||||
|
Permissions-Policy = "browsing-topics=(), conversion-measurement=(), interest-cohort=(), accelerometer=(), ambient-light-sensor=(), battery=(), camera=(), display-capture=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), usb=()"
|
||||||
|
|
||||||
[[headers]]
|
[[headers]]
|
||||||
for = "/:lang/about/donate/"
|
for = "/:lang/about/donate/"
|
||||||
|
Loading…
Reference in New Issue
Block a user