mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] add header to disallow FLoC
https://diaspodon.fr/@etienne/106070042112522839
This commit is contained in:
parent
02a30125b5
commit
a0b32d5f1b
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ more_set_headers "X-Download-Options : noopen";
|
|||
more_set_headers "X-Permitted-Cross-Domain-Policies : none";
|
||||
more_set_headers "X-Frame-Options : SAMEORIGIN";
|
||||
|
||||
# Disable the disaster privacy thing that is FLoC
|
||||
more_set_headers "Permissions-Policy : interest-cohort=()";
|
||||
|
||||
# Disable gzip to protect against BREACH
|
||||
# Read https://trac.nginx.org/nginx/ticket/1720 (text/html cannot be disabled!)
|
||||
gzip off;
|
||||
|
|
Loading…
Add table
Reference in a new issue