N
Nuxt5mo ago
Joni

Proxy websockets `ws://nuxtserver/ws-api/xyz` → `ws://mysecretdomain/xyz`

Hey there, I know this is probably annoying but has somebody found a way to proxy websockets? I'd like to do this without any extra proxy like nginx, traefik etc /ws-api/xyzws://mysecretdomain/xyz I tried several packages already and also some weird things, but had no luck.
1 Reply
Joni
JoniOP5mo ago
So I've managed to find a solution, but there is definitely a nuxt/nitro bug on the very first connection, the first connection gets error 204 every other connection gets proxied
Want results from more Discord servers?
Add your server