WebSocket support
There are two ways to enable the support of websocket:
- As websocket starts using HTTP protocol, you can use virtual host to specify the scheme using
ws
orwss
. For example, `-e VIRTUAL_HOST="ws://ws.example.com, wss://wss.example.com" - Websocket itself is a TCP connection, you can also try the TCP load balancing mentioned in the previous section.