Files
svelte-mud/Caddyfile
2025-04-22 00:08:42 +02:00

11 lines
299 B
Caddyfile

mud.iamtalon.me {
# For 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
}