Forum: NGINX NGINX proxy websocket

Posted by Hazrat Shah (Guest)
on 2013-03-14 00:00
(Received via mailing list)
I am using the Nginx v1.3.14 server proxy.  I am sending the Websocket 
HTTP connection request "CONNECT HostName:Port HTTP/1.1" packet to the 
proxy  from the client.  It responds with an http-alt ack packet.  How 
can I configure the proxy to return the HTTP reply "HTTP/1.1 200"? I 
also do not see in Wireshark trace the proxy attempting to establish a 
TCP connection with the Websocket server.

-HS



This e-mail message and all attachments transmitted with it may contain 
legally privileged and confidential information intended solely for the 
use of the addressee. If you are not the intended recipient, you are 
hereby notified that any reading, dissemination, distribution, copying, 
or other use of this message or its attachments is strictly prohibited.
Posted by Ruslan Ermilov (Guest)
on 2013-03-14 06:04
(Received via mailing list)
On Wed, Mar 13, 2013 at 10:59:38PM +0000, Hazrat Shah wrote:
>    I am using the Nginx v1.3.14 server proxy.  I am sending the Websocket
>    HTTP connection request "CONNECT HostName:Port HTTP/1.1" packet to the
>    proxy  from the client.  It responds with an http-alt ack packet.  How can
>    I configure the proxy to return the HTTP reply "HTTP/1.1 200"? I also do
>    not see in Wireshark trace the proxy attempting to establish a TCP
>    connection with the Websocket server.

Here are instuctions on how to configure WebSocket proxying in nginx:
http://nginx.org/en/docs/http/websocket.html
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.