Files
jusfutura/web/Caddyfile
T
2026-08-19 20:28:50 -03:00

29 lines
461 B
Caddyfile

{
# Global options
auto_https off
}
:80 {
# Serve static frontend files
root * /srv
file_server
# Proxy API calls to backend Flask
handle_path /api/* {
reverse_proxy backend:8000
}
# Proxy OAuth routes
handle_path /login {
reverse_proxy backend:8000
}
handle_path /oauth/callback {
reverse_proxy backend:8000
}
handle_path /health {
reverse_proxy backend:8000
}
}