Files
svelte-mud/Caddyfile
2025-04-21 23:43:50 +02:00

11 lines
303 B
Caddyfile

mud.iamtalon.me {
# 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
reverse_proxy svelte-mud:3000
}