Files
svelte-mud/Caddyfile

11 lines
299 B
Caddyfile
Raw Normal View History

2025-04-21 23:22:32 +02:00
mud.iamtalon.me {
2025-04-22 00:08:42 +02:00
# For WebSocket requests to /mud-ws, proxy to the WebSocket server on port 3001
2025-04-21 23:43:50 +02:00
@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
}