forked from pub-solar/os
networking: caddy file_server without etag header
This commit is contained in:
parent
b522ac8786
commit
4d4bf4abc6
|
@ -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
|
||||||
}
|
}
|
||||||
'')
|
'')
|
||||||
|
|
Loading…
Reference in a new issue