Websocket, set Sec-Websocket-Protocol

ashoba nginx-forum at forum.nginx.org
Fri Feb 24 06:24:11 UTC 2017


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

Best regards, Arthur.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272596,272596#msg-272596



More information about the nginx mailing list