diff --git a/Caddyfile b/Caddyfile index 6901959..9c3b923 100644 --- a/Caddyfile +++ b/Caddyfile @@ -1,4 +1,8 @@ grafana.codedang.com { + log { + format console + } + handle /lokiaws/* { @blocked not remote_ip {$AWS_REQ_IP} respond @blocked "Forbidden" 403 @@ -24,7 +28,7 @@ grafana.codedang.com { } } - handle /prometheus { + handle /prometheus/* { uri strip_prefix /prometheus reverse_proxy 127.0.0.1:9090 }