Opt out of FLoC globally
In nginx-proxy, add a permissions-policy header that opts out of Google's Federated Learning of Cohorts (FLoC).
This commit is contained in:
parent
9b1dc31163
commit
4c936fc521
|
@ -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=()";
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue