From e1119608eafec63b205640c960d04a4fee59f8f6 Mon Sep 17 00:00:00 2001 From: ITQ Date: Sat, 26 Jul 2025 02:52:29 +0300 Subject: [PATCH] fix: fixes in caddy monitoring --- infrastructure/caddy/Caddyfile | 4 +++- infrastructure/prometheus/prometheus.yaml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/infrastructure/caddy/Caddyfile b/infrastructure/caddy/Caddyfile index 1364ee2..8a120fe 100644 --- a/infrastructure/caddy/Caddyfile +++ b/infrastructure/caddy/Caddyfile @@ -1,5 +1,7 @@ { - metrics + metrics { + per_host + } } (basic-auth) { diff --git a/infrastructure/prometheus/prometheus.yaml b/infrastructure/prometheus/prometheus.yaml index 0dfe8aa..2ab60b3 100644 --- a/infrastructure/prometheus/prometheus.yaml +++ b/infrastructure/prometheus/prometheus.yaml @@ -37,4 +37,4 @@ scrape_configs: # Caddy - job_name: caddy static_configs: - - targets: ["caddy:8080"] + - targets: ["caddy:2019"]