temporarily disable Trusted Types for web-install

This can be enabled again when the zip library supports it.
This commit is contained in:
Daniel Micay
2021-01-23 20:56:05 -05:00
parent 0d71971ea6
commit 548b13c09d
3 changed files with 3 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
include snippets/security-headers-base.conf;
add_header Content-Security-Policy "default-src 'none'; connect-src 'self' https://releases.grapheneos.org/; font-src 'self'; img-src 'self'; manifest-src 'self'; script-src 'self'; style-src 'self'; form-action 'none'; frame-ancestors 'none'; block-all-mixed-content; base-uri 'none'; require-trusted-types-for 'script'" always;
add_header Permissions-Policy "accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), camera=(), display-capture=(), document-domain=(), encrypted-media=(), fullscreen=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), midi=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), screen-wake-lock=(), sync-xhr=(), usb=(), xr-spatial-tracking=()" always;
# Feature-Policy is being replaced by Permissions-Policy