19 lines
454 B
Caddyfile
19 lines
454 B
Caddyfile
# Caddyfile for Fellowship SUT - LOCAL DEVELOPMENT
|
|
# HTTP-only configuration for local development (no HTTPS)
|
|
# Explicitly use http:// to avoid automatic HTTPS redirect
|
|
|
|
http://localhost, http://127.0.0.1, :80 {
|
|
# API routes - Flask handles CORS
|
|
handle /api/* {
|
|
reverse_proxy backend:5000
|
|
}
|
|
|
|
# WebSocket support
|
|
handle /ws {
|
|
reverse_proxy backend:5000
|
|
}
|
|
|
|
# Frontend routes
|
|
reverse_proxy /* frontend:3000
|
|
}
|