set-api / Caddyfile
Tom716's picture
Create Caddyfile
7573fd7 verified
Raw History Blame Contribute Delete
399 Bytes
{
# Enable internal Admin API for dynamic route updates
admin localhost:2019
auto_https off
}
:7860 {
# Health check endpoint
respond /status "Caddy Proxy Active" 200
# Route /api/* to NestJS Backend
handle /api/* {
reverse_proxy localhost:3000
}
# Route /wa/* to WhatsApp Baileys Service
handle /wa/* {
reverse_proxy localhost:3001
}
}