Files
self-hosted/Caddyfile
Paul Makles 1dc8fe9d5f fix: don't match headers for /ws route
This used to always just work, maybe broken in modern browsers / Caddy? No clue! Removing it fixes everything though.
2025-02-09 11:58:10 +00:00

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
}