Gather caddy metrics
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled

This commit is contained in:
Torjus Håkestad 2024-12-04 04:02:24 +01:00
parent b1bc8c1321
commit 5af18ca418
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4
2 changed files with 11 additions and 0 deletions

View File

@ -5,6 +5,9 @@
configFile = pkgs.writeText "Caddyfile" '' configFile = pkgs.writeText "Caddyfile" ''
{ {
acme_ca https://ca.home.2rjus.net/acme/acme/directory acme_ca https://ca.home.2rjus.net/acme/acme/directory
servers {
metrics
}
} }
nzbget.home.2rjus.net { nzbget.home.2rjus.net {

View File

@ -152,6 +152,14 @@
} }
]; ];
} }
{
job_name = "caddy";
static_configs = [
{
targets = [ "http-proxy.home.2rjus.net:2019" ];
}
];
}
]; ];
}; };
} }