From 6a09c14a330ea43cbeb64cad5bd90937de663185 Mon Sep 17 00:00:00 2001 From: Valentin Conrad Date: Fri, 9 Jul 2021 10:50:25 +0200 Subject: [PATCH] nextcloud: remove expires header nextcloud default nginx config did not include the expires config see: https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html (cherry picked from commit ceef268c4b8cca80bd8c9b73bc2b323be13e0970) --- nixos/modules/services/web-apps/nextcloud.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix index bb8ea5ab6e0..c4a31c481ae 100644 --- a/nixos/modules/services/web-apps/nextcloud.nix +++ b/nixos/modules/services/web-apps/nextcloud.nix @@ -701,7 +701,6 @@ in { }; extraConfig = '' index index.php index.html /index.php$request_uri; - expires 1m; add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; add_header X-Robots-Tag none;