mirror of
https://github.com/stoatchat/self-hosted.git
synced 2026-03-03 02:27:01 +00:00
This used to always just work, maybe broken in modern browsers / Caddy? No clue! Removing it fixes everything though.
24 lines
372 B
Caddyfile
24 lines
372 B
Caddyfile
{$HOSTNAME} {
|
|
route /api* {
|
|
uri strip_prefix /api
|
|
reverse_proxy http://api:14702
|
|
}
|
|
|
|
route /ws {
|
|
uri strip_prefix /ws
|
|
reverse_proxy http://events:14703
|
|
}
|
|
|
|
route /autumn* {
|
|
uri strip_prefix /autumn
|
|
reverse_proxy http://autumn:14704
|
|
}
|
|
|
|
route /january* {
|
|
uri strip_prefix /january
|
|
reverse_proxy http://january:14705
|
|
}
|
|
|
|
reverse_proxy http://web:5000
|
|
}
|