From 4d4bf4abc6bcc9abdd153de12ef47d0b3a30e2bd Mon Sep 17 00:00:00 2001 From: teutat3s Date: Wed, 22 Mar 2023 09:32:47 +0100 Subject: [PATCH] networking: caddy file_server without etag header --- modules/core/networking.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/core/networking.nix b/modules/core/networking.nix index 435dc959..f6f754d7 100644 --- a/modules/core/networking.nix +++ b/modules/core/networking.nix @@ -82,6 +82,9 @@ in { '' help.local:80 { root * ${pkgs.psos-docs}/lib/html + # Caddy builds the etag with only the file size & latest modified + # date, which is always 1970-01-01 in the Nix store + header -ETag file_server } '')