From ed48df33043bf8f07a3b536bac019f568e92a7c2 Mon Sep 17 00:00:00 2001 From: Mika Bomm Date: Fri, 2 Aug 2024 23:28:33 +0200 Subject: [PATCH] update caddyfile for local pihole --- caddy/Caddyfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 8a405d1..5dc0f62 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -59,3 +59,11 @@ http://192.168.178.230 { :81 { respond "Hello, World!" } + + +http://pihole.local { + handle_path /* { + rewrite * /admin{path} + reverse_proxy 192.168.178.244 + } +} \ No newline at end of file