Some potential ways to proxy to a WebSocket backend: proxy based on sub-domain. On haproxy 1.9.8 i change option to "option http-tunnel" in defaults section and it solve a problem. Effectivelly, it was my apache configuration which was not good. When you add HTTPS to the mix, there are two ways that HAProxy can handle it, either by terminating SSL or by passing it through. haproxy version HA-Proxy version 2.2.2-1ppa1~bionic 2020/08/01 - https://haproxy.org/ Status: long-term supported branch - will stop receiving fixes around Q2 2025. How you check for health is based on the type of service hosted in the backend. by Ciro S. Costa - Jan 8, 2018 . This means that t… HAProxy can redirect the user to the exact location provided by using the directives below: # Used in the a frontend, listen, or backend section http-request redirect location [code ] [