{ admin localhost:2019 auto_https off } :7860 { # Better Stack keep-alive health check handle /status { respond "Caddy Proxy Active" 200 } # Telegram NestJS API (Port 3000) handle /api/telegram/* { reverse_proxy localhost:3000 } # Python K3s Test API (Port 8000) handle /api/k3s/* { uri strip_prefix /api/k3s reverse_proxy localhost:8000 } # Default route for remaining API calls handle { reverse_proxy localhost:3000 } }