add caddy metrics

This commit is contained in:
Henry Hiles 2025-12-31 18:19:18 -05:00
commit aff7879923
No known key found for this signature in database
3 changed files with 40 additions and 25 deletions

View file

@ -25,6 +25,12 @@
hash = "sha256-t1qQtYpBKCWeHV8ML200LzB+Sc8iAGl2kc9pvOCKdac=";
};
globalConfig = ''
metrics {
per_host
}
'';
virtualHosts = lib.mapAttrs (domain: host: {
extraConfig =
let