Sergey Kandaurov
November 26, 2020 07:24AM
> On 26 Nov 2020, at 12:03, allenhe <nginx-forum@forum.nginx.org> wrote:
>
> Can someone elaborate this a little bit?
> "NGINX supports WebSocket by allowing a tunnel to be set up between both
> client and back-end servers."
>
> what is the "tunnel" here?

After upgrading HTTP/1.1 to WebSocket protocol,
a two-way communication channel is established,
which is proxied by nginx is a special mode.

> Does it mean the client will talk with the back-end server directly after
> the http Upgrade handshakes?

No, WebSocket protocol messages are still proxied by nginx.
See also http://nginx.org/en/docs/http/websocket.html

--
Sergey Kandaurov

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

how nginx handle websocket proxying

allenhe November 26, 2020 07:03AM

Re: how nginx handle websocket proxying

Sergey Kandaurov November 26, 2020 07:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 237
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready