Setting up Sockets.io on Ubuntu server with Nginx

I’ve wasted a whole 2 days on trying to get sockets.io working with docker & node JS.
It’s behind a reverse proxy that points the domain to the port.

Need this setting up to work with sockets.io
Currently I am getting fail to connect

Happy to pay, let me know what you need and the cost.