summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorstuebinm2021-04-17 16:09:57 +0200
committerstuebinm2021-04-17 16:09:57 +0200
commitf06f4f637752ced86250b10436ece754c6725109 (patch)
treef983f9b0241c876aec8c92cb543b7b346a430de9 /hosts
parent022c17185b8b90515cb2c9b1ae039a9ab190db91 (diff)
add interest-cohort=() header
Diffstat (limited to 'hosts')
-rw-r--r--hosts/flora/services/nginx.nix12
1 files changed, 4 insertions, 8 deletions
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=()";
+ '';
};
}