hainich/nginx: disable interest cohort globally
This commit is contained in:
parent
0c55ccb47b
commit
25568db129
1 changed files with 25 additions and 20 deletions
|
@ -25,7 +25,11 @@
|
|||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 1935 ];
|
||||
services.nginx.appendConfig = ''
|
||||
services.nginx = {
|
||||
appendHttpConfig = ''
|
||||
add_header Permissions-Policy "interest-cohort=()";
|
||||
'';
|
||||
appendConfig = ''
|
||||
rtmp {
|
||||
server {
|
||||
listen 1935;
|
||||
|
@ -46,6 +50,7 @@
|
|||
}
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
systemd.services.nginx.serviceConfig.ReadWriteDirectories = "/data/ingest /var/secrets";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue