Browse Source

Added permissions policy to opt-out of Google FLoC (Federated Learning of Cohorts)

main
Ravi Shah 5 years ago
parent
commit
7308dbdae1
  1. 1
      reverse-proxy.conf
  2. 1
      subdomain-proxy.conf

1
reverse-proxy.conf

@ -72,6 +72,7 @@ server {
# Set the security headers # Set the security headers
add-header Permissions-Policy "interest-cohort=()"; # Don't allow Google FLoC
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"; #HSTS add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"; #HSTS
add_header X-Frame-Options DENY; #Prevents clickjacking add_header X-Frame-Options DENY; #Prevents clickjacking
add_header X-Content-Type-Options nosniff; #Prevents mime sniffing add_header X-Content-Type-Options nosniff; #Prevents mime sniffing

1
subdomain-proxy.conf

@ -46,6 +46,7 @@ server {
# Set the security headers # Set the security headers
add-header Permissions-Policy "interest-cohort=()"; # Don't allow Google FLoC
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"; #HSTS add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"; #HSTS
add_header X-Frame-Options DENY; #Prevents clickjacking add_header X-Frame-Options DENY; #Prevents clickjacking
add_header X-Content-Type-Options nosniff; #Prevents mime sniffing add_header X-Content-Type-Options nosniff; #Prevents mime sniffing

Loading…
Cancel
Save