From 54f59a5cc5835932c62c0f2d58712e30c248da4d Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 16 Apr 2021 12:48:56 +0200 Subject: feat(ops/modules/www): Disable FLoC tracking for all TVL pages .. this is actually likely not disabling it for some pages, that will need this to be copy & pasted, but it's hard to tell just from the nginx docs. We'll make sure after deploying. Change-Id: I2fa6e31ca10835a206673b858594fa071e729d82 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3020 Tested-by: BuildkiteCI Reviewed-by: lukegb --- ops/modules/www/base.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ops') diff --git a/ops/modules/www/base.nix b/ops/modules/www/base.nix index 4b956cd95e..cfa9bf0bc6 100644 --- a/ops/modules/www/base.nix +++ b/ops/modules/www/base.nix @@ -9,6 +9,10 @@ recommendedTlsSettings = true; recommendedGzipSettings = true; recommendedProxySettings = true; + + appendHttpConfig = '' + add_header Permissions-Policy "interest-cohort=()"; + ''; }; # NixOS 20.03 broke nginx and I can't be bothered to debug it -- cgit 1.4.1