From fda86de32d69f4fd7f08274ecfdd452f27d0bba4 Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Sat, 4 Feb 2023 16:42:45 +0000 Subject: [PATCH] password protected metrics, grafana proxy --- caddy/site13.caddy | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/caddy/site13.caddy b/caddy/site13.caddy index d96efa7..76bd30a 100644 --- a/caddy/site13.caddy +++ b/caddy/site13.caddy @@ -4,10 +4,18 @@ code.ndumas.com { } metrics.ndumas.com { + basicauth * { + metrics JDJhJDE0JGY2NUVodHNTLnVFZkFJY1BNbDNMMXVjZ1pqVzhmVmdjSFJYWjVIdUptdHZIMjR4c3lxMG1D + } encode gzip reverse_proxy localhost:9090 } +grafana.ndumas.com { + encode gzip + reverse_proxy localhost:4000 +} + blog.ndumas.com { encode gzip file_server