From f06f4f637752ced86250b10436ece754c6725109 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sat, 17 Apr 2021 16:09:57 +0200 Subject: add interest-cohort=() header --- hosts/flora/services/nginx.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'hosts/flora/services/nginx.nix') diff --git a/hosts/flora/services/nginx.nix b/hosts/flora/services/nginx.nix index 5d21a14..bbcacb7 100644 --- a/hosts/flora/services/nginx.nix +++ b/hosts/flora/services/nginx.nix @@ -9,13 +9,9 @@ recommendedOptimisation = true; recommendedTlsSettings = true; recommendedProxySettings = true; - - # virtualHosts = { - # "stuebinm.eu" = { - # forceSSL = true; - # enableACME = true; - # root = "/var/www/stats"; - # }; - # }; + + appendHttpConfig = '' + add_header Permissions-Policy "interest-cohort=()"; + ''; }; } -- cgit v1.2.3