networking: caddy file_server without etag header

This commit is contained in:
teutat3s 2023-03-22 09:32:47 +01:00
parent b522ac8786
commit 4d4bf4abc6
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -82,6 +82,9 @@ in {
'' ''
help.local:80 { help.local:80 {
root * ${pkgs.psos-docs}/lib/html 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 file_server
} }
'') '')