From 4d5d809447130710728ea85caf53c38f084ebb26 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 22 Apr 2021 12:24:05 +0200 Subject: [PATCH] Opt out of Google's FLoC Network by default --- docs/example.nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/example.nginx.conf b/docs/example.nginx.conf index 02a63bd98..78e4f30ce 100644 --- a/docs/example.nginx.conf +++ b/docs/example.nginx.conf @@ -60,6 +60,9 @@ server { add_header Access-Control-Allow-Origin "*"; # add_header X-Frame-Options "SAMEORIGIN"; + # Opt out of Google's FLoC Network + add_header Permissions-Policy interest-cohort=(); + set $coop ''; if ($uri ~ ^\/(sheet|presentation|doc)\/.*$) { set $coop 'same-origin'; }