Re: Websocket, set Sec-Websocket-Protocol

2017-03-04 Thread Francis Daly
On Fri, Feb 24, 2017 at 01:24:11AM -0500, ashoba wrote: Hi there, > How I can set Sec-WebSocket-Protocol in config? > I've tried proxy_set_header Sec-WebSocket-Protocol "v10.stomp, v11.stomp"; > and add_header Sec-WebSocket-Protocol "v10.stomp, v11.stomp". > In response, I'm not getting 'Sec-Web

Websocket, set Sec-Websocket-Protocol

2017-02-23 Thread ashoba
Hello,guys! How I can set Sec-WebSocket-Protocol in config? I've tried proxy_set_header Sec-WebSocket-Protocol "v10.stomp, v11.stomp"; and add_header Sec-WebSocket-Protocol "v10.stomp, v11.stomp". In response, I'm not getting 'Sec-WebSocket-Protocol' header. What can be wrong? P.S. Nginx 1.6.2 B