From b85fb061e9de7e5410dfacf6682454d3db400396 Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 7 Nov 2023 01:23:01 -0700 Subject: [PATCH] Opt out of Chrome's Topics API Signed-off-by: Tommy --- swag/nginx/ssl.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swag/nginx/ssl.conf b/swag/nginx/ssl.conf index 33e9de4..69f7c64 100644 --- a/swag/nginx/ssl.conf +++ b/swag/nginx/ssl.conf @@ -28,7 +28,7 @@ ssl_trusted_certificate /config/keys/cert.crt; # Optional additional headers add_header Content-Security-Policy "default-src 'none'; connect-src 'self'; font-src * https: data:; img-src * https: data:; manifest-src * https: data:; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-ancestors 'none'; upgrade-insecure-requests; block-all-mixed-content; base-uri 'none'"; -add_header Permissions-Policy "accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), camera=(), clipboard-read=(), clipboard-write=(), display-capture=(), document-domain=(), encrypted-media=(), fullscreen=(), geolocation=(), gyroscope=(), hid=(), idle-detection=(), interest-cohort=(), magnetometer=(), microphone=(), midi=(), payment=(), picture-in-picture=(), screen-wake-lock=(), serial=(), sync-xhr=(), usb=(), xr-spatial-tracking=()" always; +add_header Permissions-Policy "accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), browsing-topics=(), camera=(), clipboard-read=(), clipboard-write=(), display-capture=(), document-domain=(), encrypted-media=(), fullscreen=(), geolocation=(), gyroscope=(), hid=(), idle-detection=(), interest-cohort=(), magnetometer=(), microphone=(), midi=(), payment=(), picture-in-picture=(), screen-wake-lock=(), serial=(), sync-xhr=(), usb=(), xr-spatial-tracking=()" always; add_header Referrer-Policy "same-origin" always; add_header X-Content-Type-Options "nosniff" always; add_header X-XSS-Protection "0" always;