We had an old server setup that ran RTCMultiConnection-Server on port 37022 and we proxypassed this through a domain using apache with following config:
We think this is due to the first request needing to be a normal HTTP/S request and replying with the 1:6 data but instead nginx is attempting to upgrade this request to the socket.
We aren't sure how to configure NGINX. Does anyone have a working proxypass config for NGINX?
Hello,
We had an old server setup that ran RTCMultiConnection-Server on port 37022 and we proxypassed this through a domain using apache with following config:
This is working. When we load the application we are seeing two requests to the IO server:
The first request replies with some text,
1:6
and the second establishes the socket connection and we can see messages back and forth.We are now migrating to a nginx server that we need to replicate this on. We followed the instructions via the wiki but it doesn't seem to be working.
We are getting an error on the first request:
{"code":5,"message":"Unsupported protocol version"}
We think this is due to the first request needing to be a normal HTTP/S request and replying with the
1:6
data but instead nginx is attempting to upgrade this request to the socket.We aren't sure how to configure NGINX. Does anyone have a working proxypass config for NGINX?