Fix caddyfile for nix-cache
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled

This commit is contained in:
Torjus Håkestad 2025-06-01 02:34:31 +02:00
parent 7f84780956
commit 9236d6aef7
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4

View File

@ -6,16 +6,12 @@
configFile = pkgs.writeText "Caddyfile" ''
{
acme_ca https://ca.home.2rjus.net/acme/acme/directory
metrics {
per_host
}
}
http://nix-cache.home.2rjus.net/metrics {
metrics
}
metrics /metrics
nix-cache.home.2rjus.net {
log {
output file /var/log/caddy/nix-cache.log {