From f630b7970f8ec652f469f7631d81745e2d3064cf Mon Sep 17 00:00:00 2001 From: ssupecial <56429615+ssupecial@users.noreply.github.com> Date: Mon, 26 Feb 2024 16:27:48 +0900 Subject: [PATCH] fix(infra): modify Caddyfile handle path @ssupecial (#31) * fix(infra): change Caddyfile path by adding * symbol for prometheus * fix(infra): make Caddy leave all logs to console * fix(infra): modify Caddyfile handle path --- Caddyfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Caddyfile b/Caddyfile index 9c3b923..1e879f0 100644 --- a/Caddyfile +++ b/Caddyfile @@ -19,7 +19,7 @@ grafana.codedang.com { handle /agent* { handle /agent/metric* { uri strip_prefix /agent/metric - reverse_proxy 127.0.0.1:4318/v1/metrics + reverse_proxy 127.0.0.1:4318 } handle { @@ -29,7 +29,6 @@ grafana.codedang.com { } handle /prometheus/* { - uri strip_prefix /prometheus reverse_proxy 127.0.0.1:9090 }