garage01: fix Caddy metrics deprecation warning
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled

Use handle directive instead of path in site address for the metrics
endpoint, as the latter is deprecated in Caddy 2.10.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-13 21:53:48 +01:00
parent ffaf95d109
commit 7e0c5fbf0f

View File

@@ -53,9 +53,12 @@
reverse_proxy http://localhost:3900 reverse_proxy http://localhost:3900
} }
http://garage01.home.2rjus.net:9117/metrics { http://garage01.home.2rjus.net:9117 {
handle /metrics {
metrics metrics
} }
respond 404
}
''; '';
}; };
} }