set-api / Caddyfile
Tom716's picture
Update Caddyfile
200ddd9 verified
Raw History Blame Contribute Delete
521 Bytes
{
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
}
}