Websocket proxying based on Sec-Websocket-Protocol
gvag
nginx-forum at nginx.us
Tue Mar 19 10:32:04 UTC 2013
Hi guys,
I am trying to find if it is possible to proxy a websocket request based on
the Sec-Websocket-Protocol. More specific, is there a way to check the
Sec-Websocket-Protocol (http://tools.ietf.org/html/rfc6455#section-11.3.4)
header and proxy to the appropriate host/port according to this header?
A use case would be to proxy to a SIP Connector -SIP Websocket connector-
(specific host and port) when the Sec-Websocket-Protocol = sip.
(http://tools.ietf.org/html/draft-ietf-sipcore-sip-websocket-03)
I checked documentation and forums, but i cannot find any information
relevant to this issue. As far as i can see the Sec-Websocket-Protocol
header is not available to be used in the nginx, just the "Upgrade:
websocket" header.
Regards
George
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237539,237539#msg-237539
More information about the nginx
mailing list