Attempt websocket fix

This commit is contained in:
2025-04-21 23:43:50 +02:00
parent 2e265c08f1
commit 2cff41f187
3 changed files with 23 additions and 5 deletions

View File

@@ -1,3 +1,10 @@
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
}