about summary refs log tree commit diff
path: root/ops/modules/www
diff options
context:
space:
mode:
Diffstat (limited to 'ops/modules/www')
-rw-r--r--ops/modules/www/base.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/ops/modules/www/base.nix b/ops/modules/www/base.nix
index 4b956cd95ef1..cfa9bf0bc6a8 100644
--- a/ops/modules/www/base.nix
+++ b/ops/modules/www/base.nix
@@ -9,6 +9,10 @@
       recommendedTlsSettings = true;
       recommendedGzipSettings = true;
       recommendedProxySettings = true;
+
+      appendHttpConfig = ''
+        add_header Permissions-Policy "interest-cohort=()";
+      '';
     };
 
     # NixOS 20.03 broke nginx and I can't be bothered to debug it