WebSockets and HTTPS load balancers <p>I cannot find authoritative information about how WSS interacts with HTTPS proxies and load balancers.</p> <p>I have a load balancer that handles the SSL (<a href="http://www.f5.com/glossary/ssl-offloading/" rel="nofollow">SSL off-loading</a>), and two web servers that contains my web applications and handle the requests in plain HTTP. Therefore, the customers issue HTTPS requests, but my web servers get HTTP requests, since the load balancer takes care of the SSL certificates handling.</p> <p>I am developing now an application that will expose WebSockets and SSL is required. But I have no clear idea about what will happen when the load balancer gets a secure HTTPS handshake for WSS. </p> <p>Will it just relay the request as normal handshake to the web server? WebSockets use a "Upgrade:WebSocket" HTTP header that is only valid for the first hop (as there is also "Connection:Upgrade", will this be a problem? </p> <p>Cheers.</p>