You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
456 B
Caddyfile
29 lines
456 B
Caddyfile
{$HOSTNAME} {
|
|
route /api* {
|
|
uri strip_prefix /api
|
|
reverse_proxy http://api:14702
|
|
}
|
|
|
|
route /ws {
|
|
@upgrade {
|
|
header Connection *Upgrade*
|
|
header Upgrade websocket
|
|
}
|
|
|
|
uri strip_prefix /ws
|
|
reverse_proxy @upgrade http://events:9000
|
|
}
|
|
|
|
route /autumn* {
|
|
uri strip_prefix /autumn
|
|
reverse_proxy http://autumn:14704
|
|
}
|
|
|
|
route /january* {
|
|
uri strip_prefix /january
|
|
reverse_proxy http://january:7000
|
|
}
|
|
|
|
reverse_proxy http://web:5000
|
|
}
|