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 {