Compare commits

...

1 commit

Author SHA1 Message Date
Reynir Björnsson 4c936fc521 Opt out of FLoC globally
In nginx-proxy, add a permissions-policy header that opts out of
Google's Federated Learning of Cohorts (FLoC).
2021-04-14 12:52:18 +02:00
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,2 @@
# See https://developer.chrome.com/blog/floc/#how-can-websites-opt-out-of-the-floc-computation
add_header Permissions-Policy "interest-cohort=()";

View file

@ -45,3 +45,7 @@
env: env:
NGINX_PROXY_CONTAINER: nginx-proxy NGINX_PROXY_CONTAINER: nginx-proxy
- name: upload nginx anti floc
copy:
src: files/configs/nginx-proxy/conf.d/anti-floc.conf
dst: "{{ nginx.volume_folder }}/conf/anti-floc.conf"