Files
helpdesk/gateway/Caddyfile
T

25 lines
301 B
Caddyfile

# HelpDesk ICHN - Caddyfile
# Reverse proxy for API + Frontend
{
admin off
auto_https off
}
:80 {
# API routes
handle /api/* {
reverse_proxy api:5000
}
# Swagger (dev only)
handle /swagger/* {
reverse_proxy api:5000
}
# Frontend (Next.js)
handle {
reverse_proxy frontend:3000
}
}