From 7f84780956364432d9d3691a4a147bd9ca476f90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sun, 1 Jun 2025 02:32:22 +0200 Subject: [PATCH] Enable metrics endpoint for caddy on nix-cache --- services/nix-cache/proxy.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/services/nix-cache/proxy.nix b/services/nix-cache/proxy.nix index 1508b87..26e1aee 100644 --- a/services/nix-cache/proxy.nix +++ b/services/nix-cache/proxy.nix @@ -11,6 +11,11 @@ } } + + http://nix-cache.home.2rjus.net/metrics { + metrics + } + nix-cache.home.2rjus.net { log { output file /var/log/caddy/nix-cache.log {