Fix caddy metrics endpoint
Some checks failed
Run nix flake check / flake-check (push) Failing after 10m38s
Some checks failed
Run nix flake check / flake-check (push) Failing after 10m38s
This commit is contained in:
@@ -5,9 +5,6 @@
|
||||
configFile = pkgs.writeText "Caddyfile" ''
|
||||
{
|
||||
acme_ca https://ca.home.2rjus.net/acme/acme/directory
|
||||
servers {
|
||||
metrics
|
||||
}
|
||||
}
|
||||
|
||||
nzbget.home.2rjus.net {
|
||||
@@ -42,6 +39,12 @@
|
||||
}
|
||||
reverse_proxy http://ha1.home.2rjus.net:8080
|
||||
}
|
||||
http://http-proxy.home.2rjus.net/metrics {
|
||||
log {
|
||||
output file /var/log/caddy/caddy-metrics.log
|
||||
}
|
||||
metrics
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user