summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2021-03-21 11:21:28 -0400
committerDaniel Micay <danielmicay@gmail.com>2021-03-21 11:21:28 -0400
commita3b9058e1024b186eb49fde18b2791d988b24627 (patch)
tree4bce62246b98564b5c086d12d6b4ededbc301bb1
parentdcdd236f363da2911f4df882538683f6f6ea823b (diff)
work around legacy CSP handling by AV/extensions
-rw-r--r--nginx/nginx.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index cc810403..fae1bb9f 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -252,7 +252,7 @@ http {
location = /install/web {
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'" always;
+ add_header Content-Security-Policy "default-src 'none'; child-src 'self'; 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'" 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=(), xr-spatial-tracking=()" always;
add_header Cache-Control "public, max-age=1800";
include snippets/preload.conf;