Let's say I have a running nginx instance with several server blocks (on a linux server), and that I would like to send an extra HTTP header like Permissions-Policy: interest-cohort=()
on all responses because I agree with Google's FLOC being a bad idea.
I know this can be done on a per-server block basis (by editing each of my /etc/nginx/sites-available/*
files one by one) by adding something like
server {
location / {
add_header Permissions-Policy interest-cohort=();
# ...other stuff
}
# ...other stuff
}
Is it possible to configure this extra HTTP header for all locations of all server blocks at once? If so, how?