mirror of
https://github.com/stoatchat/self-hosted.git
synced 2026-03-20 01:35:16 -05:00
32 lines
550 B
Caddyfile
32 lines
550 B
Caddyfile
{$HOSTNAME} {
|
|
route /api* {
|
|
uri strip_prefix /api
|
|
reverse_proxy http://api:14702 {
|
|
header_down Location "^/" "/api/"
|
|
}
|
|
}
|
|
|
|
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/"
|
|
}
|
|
}
|
|
|
|
route /january* {
|
|
uri strip_prefix /january
|
|
reverse_proxy http://january:14705 {
|
|
header_down Location "^/" "/january/"
|
|
}
|
|
}
|
|
|
|
reverse_proxy http://web:5000
|
|
}
|