File size: 521 Bytes
7573fd7
 
 
 
 
 
200ddd9
d08967c
 
 
7573fd7
200ddd9
 
 
 
 
 
 
 
 
 
 
 
dbc30ff
dab4c51
7573fd7
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
    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
    }
}