The original post: /r/nginx by /u/PTwolfy on 2024-09-29 09:38:30.

Seriously guys, has anyone managed to get Websockets or Socket.io working behind Nginx Proxy Manager?

For a few years I have this problem, I have tried many configs and it just won’t work.

Socket.io is working locally, but when on the domain proxied by NPM it just won’t work.

It either throws “WebSocket is closed before the connection is established.”

Or simply a “failed” error.

Any tips?