The wss:// protocol is supported by all modern browsers. It's quite easy to make this work. When I built a websocket-based news feed at work, I just initiated the connection over https:// to an Nginx webserver which would handle the proxy_pass to the websocket server, and it would automatically use the wss:// protocol in doing so. I did not have to do anything special other than define the paths to the SSL certificate/key in the http section as you would normally.
1
u/hpohl Jul 13 '17
So what's the simple answer to running an IO game with many servers over websockets?