From 92b3a5bc85e32ba3611bdeaf7a93d5be4850967c Mon Sep 17 00:00:00 2001 From: Joey Yakimowich-Payne Date: Thu, 15 Jan 2026 21:50:05 -0700 Subject: [PATCH] Fix caddy routing --- Caddyfile.example | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Caddyfile.example b/Caddyfile.example index 182e06c..9278d42 100644 --- a/Caddyfile.example +++ b/Caddyfile.example @@ -2,10 +2,6 @@ # Copy this file to Caddyfile and update the domain names kaboot.example.com { - root * /srv/frontend - file_server - try_files {path} /index.html - handle /api/* { reverse_proxy kaboot-backend:3001 } @@ -13,6 +9,12 @@ kaboot.example.com { handle /health { reverse_proxy kaboot-backend:3001 } + + handle { + root * /srv/frontend + try_files {path} /index.html + file_server + } } auth.example.com {