I've found this: http://thechangelog.com/nginx-gains-support-for-websockets/
Just this lines:
location /chat/ {

    proxy_pass http://backend;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";

}


2013/2/19 Andre Contreras <[email protected]>

> I just get:
> debug - client authorized
>    info  - handshake authorized b9XMag_ay5Jti2KQ8VxB
>    debug - setting request GET /socket.io/1/websocket/b9XMag_ay5Jti2KQ8VxB
>    debug - set heartbeat interval for client b9XMag_ay5Jti2KQ8VxB
>    warn  - websocket connection invalid
>    info  - transport end (undefined)
> I can't find any information in how to implement websockets with nginx. I
> have nginx 1.3.13 from chris lea PPA
>
>
> 2013/2/19 Philipp Klose <[email protected]>
>
>> The current developer version of Nginx now supports Websockets. (
>> http://nginx.com/news/nginx-websockets.html) Does any one have tried
>> this yet and could give some insight if it is now possible to proxy
>> socket.io connections through Nginx?
>>
>> --
>> --
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines:
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> You received this message because you are subscribed to the Google
>> Groups "nodejs" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "nodejs" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to