2 ms·
Cool, does it allow you to control the balancing to enforce source-ip -> backend mapping? This is required due to the nature of Websockets UPGRADE and most sem
by jpgvm 11y ago
Cool, does it allow you to control the balancing to enforce source-ip -> backend mapping?
This is required due to the nature of Websockets UPGRADE and most semi-stateful Websockets servers.
- Tenzer 11y agoSure, that's not really related to the protocol used. It's instead handled by the upstream module and the "ip_hash" flag: http://nginx.org/en/docs/http/ngx_http_upstream_module.html#ip_hash http://nginx.org/en/docs/http/ngx_http_upstream_module.html#....