Files
svelte-mud/Caddyfile

11 lines
303 B
Caddyfile
Raw Normal View History

2025-04-21 23:22:32 +02:00
mud.iamtalon.me {
2025-04-21 23:43:50 +02:00
# For all WebSocket requests to /mud-ws, proxy to the WebSocket server on port 3001
@websocket {
path /mud-ws*
}
reverse_proxy @websocket svelte-mud:3001
# For all other requests, proxy to the SvelteKit app on port 3000
2025-04-21 23:22:32 +02:00
reverse_proxy svelte-mud:3000
}