Fix caddy routing

This commit is contained in:
Joey Yakimowich-Payne 2026-01-15 21:50:05 -07:00
commit 92b3a5bc85
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1

View file

@ -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 {