serve nixcache home as text/plain

This commit is contained in:
cy 2025-03-31 09:01:33 -04:00
parent 925f78853b
commit f34eec7b17
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts

View file

@ -43,6 +43,14 @@
serverAliases = [ "nixcache.cy7.sh" ];
extraConfig = ''
import common
@plain {
host nixcache.cy7.sh nixcache.web.cy7.sh
path / /nix-cache-info
}
header @plain {
>content-type text/plain
}
reverse_proxy localhost:3902
'';
};