app-store/apps/revolt/data/CaddyFiles/Caddyfile
DrMxrcy e6fd941262
Add Revolt (#395)
* WIP Revolt

* Add Caddy

* Update Labels

* Updated Reverse Proxy

* Update docker-compose.yml

* Add Vapid Key Generation

* Update config.json

* Update Info

* Change Version Back

* Update description.md

* Update config.json

* Update config.json

* Update config.json

* Update config.json
2023-05-17 09:39:53 -04:00

28 lines
488 B
Caddyfile

{$HOSTNAME} {
route /api* {
uri strip_prefix /api
reverse_proxy http://revolt-api:8000
}
route /ws {
@upgrade {
header Connection *Upgrade*
header Upgrade websocket
}
uri strip_prefix /ws
reverse_proxy @upgrade http://revolt-events:9000
}
route /autumn* {
uri strip_prefix /autumn
reverse_proxy http://revolt-autumn:3000
}
route /january* {
uri strip_prefix /january
reverse_proxy http://revolt-january:7000
}
reverse_proxy http://revolt-web:5000
}