diff options
| author | Daniel Micay <daniel.micay@grapheneos.org> | 2023-07-11 11:20:29 -0400 |
|---|---|---|
| committer | Daniel Micay <daniel.micay@grapheneos.org> | 2023-07-11 11:23:57 -0400 |
| commit | fafee3dcbcb886ce5fd73c56c5d26632a1366379 (patch) | |
| tree | 36c89fa589947f0c855100b3f2975b393668d3a0 /nginx/nginx.conf | |
| parent | bfdffb675135bdd9d655af0d678867d5fe09329f (diff) | |
drop legacy block-all-mixed-content
Diffstat (limited to 'nginx/nginx.conf')
| -rw-r--r-- | nginx/nginx.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 49221bf2..7a5cf057 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -336,7 +336,7 @@ http { location = /install/web { include snippets/security-headers-base.conf; - 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'; webrtc 'block'; 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'; webrtc 'block'; form-action 'none'; frame-ancestors 'none'; base-uri 'none'" always; add_header Permissions-Policy "accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), bluetooth=(), camera=(), clipboard-read=(), clipboard-write=(), display-capture=(), document-domain=(), encrypted-media=(), fullscreen=(), gamepad=(), geolocation=(), gyroscope=(), hid=(), idle-detection=(), interest-cohort=(), keyboard-map=(), local-fonts=(), magnetometer=(), microphone=(), midi=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), screen-wake-lock=(), serial=(), speaker-selection=(), sync-xhr=(), xr-spatial-tracking=()" always; add_header Cross-Origin-Resource-Policy "same-origin" always; add_header Cache-Control "public, no-cache"; |
