Opt out of Google's FLoC Network by default

pull/1/head
yflory 4 years ago
parent 1e3ff3dae4
commit 4d5d809447

@ -60,6 +60,9 @@ server {
add_header Access-Control-Allow-Origin "*"; add_header Access-Control-Allow-Origin "*";
# add_header X-Frame-Options "SAMEORIGIN"; # add_header X-Frame-Options "SAMEORIGIN";
# Opt out of Google's FLoC Network
add_header Permissions-Policy interest-cohort=();
set $coop ''; set $coop '';
if ($uri ~ ^\/(sheet|presentation|doc)\/.*$) { set $coop 'same-origin'; } if ($uri ~ ^\/(sheet|presentation|doc)\/.*$) { set $coop 'same-origin'; }

Loading…
Cancel
Save