mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 22:47:03 +03:00
Also prevent Google FLoC in .htaccess
This commit is contained in:
parent
0a03f9768f
commit
19492a714d
2 changed files with 5 additions and 0 deletions
|
|
@ -28,6 +28,9 @@ RewriteRule cpsess.* https://%{HTTP_HOST}/ [L,R=301]
|
|||
Header set X-XSS-Protection "1; mode=block"
|
||||
Header set Service-Worker-Allowed "/"
|
||||
|
||||
# Google FLoC
|
||||
Header set Permissions-Policy "interest-cohort=()"
|
||||
|
||||
RewriteCond %{HTTP:Accept-encoding} br
|
||||
RewriteCond "%{REQUEST_FILENAME}\.br" -s
|
||||
RewriteRule "^(.+)" "$1\.br" [L,T=text/javascript,QSA]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue