43 lines
1.3 KiB
Caddyfile
43 lines
1.3 KiB
Caddyfile
:80 {
|
|
route /api* {
|
|
uri strip_prefix /api
|
|
reverse_proxy http://api:14702 {
|
|
header_down Location "^/" "/api/"
|
|
}
|
|
}
|
|
|
|
# Fixed: Added * to match the query strings used by the web app
|
|
route /ws* {
|
|
uri strip_prefix /ws
|
|
reverse_proxy http://events:14703 {
|
|
header_down Location "^/" "/ws/"
|
|
}
|
|
}
|
|
|
|
route /autumn* {
|
|
uri strip_prefix /autumn
|
|
reverse_proxy http://autumn:14704 {
|
|
header_down Location "^/" "/autumn/"
|
|
|
|
uri strip_prefix /gifbox
|
|
reverse_proxy http://gifbox:14706 {
|
|
header_down Location "^/" "/gifbox/"
|
|
}
|
|
}
|
|
|
|
route /livekit* {
|
|
uri strip_prefix /livekit
|
|
reverse_proxy http://livekit:7880 {
|
|
header_down Location "^/" "/livekit/"
|
|
}
|
|
}
|
|
|
|
route /ingress* {
|
|
uri strip_prefix /ingress
|
|
reverse_proxy http://voice-ingress:8500 {
|
|
header_down Location "^/" "/ingress/"
|
|
}
|
|
}
|
|
|
|
reverse_proxy http://web:5000
|
|
} |