From f6e22a77d6dfc9a93aa9b9bc7ca4dcb401d46185 Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Fri, 24 Jan 2025 15:50:43 +0000 Subject: [PATCH] Changed caddyfile again --- caddy/Caddyfile | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 92a5cc3..4958da6 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -9,14 +9,18 @@ level DEBUG } - reverse_proxy /* site:3000 { - health_uri /health - health_interval 30s - health_timeout 10s - health_status 200 + @landing { + path / /contact* /about* } - - route /repo/* { + handle @landing { + reverse_proxy site:3000 { + health_uri /health + health_interval 30s + health_timeout 10s + health_status 200 + } + } + handle /repo* { uri strip_prefix /repo reverse_proxy repo-placeholder:80 }