web: add FLoC environment variable
ENABLE_FLOC, defaulting to false.
This commit is contained in:
@@ -22,6 +22,10 @@ add_header X-XSS-Protection "1; mode=block";
|
||||
add_header X-Jitsi-Shard {{ .Env.DEPLOYMENTINFO_SHARD }};
|
||||
{{ end }}
|
||||
|
||||
{{ if not (.Env.ENABLE_FLOC | default "0" | toBool) }}
|
||||
add_header Permissions-Policy "interest-cohort=()";
|
||||
{{ end }}
|
||||
|
||||
location = /config.js {
|
||||
alias /config/config.js;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user