I am looking for some setting or method to make backend server exclusive with sticky sessions based on ip (source like).
We have 5 web clients which are talking to haproxy with proxy pool of 5 proxy servers.
When using sticky sessions (Enable Sticky Sessions in HAProxy - HAProxy Technologies) those clients evenly distributed across proxy servers pool. But when one of this proxy is in maint mode i need behavior to not share 1 proxy server more than to 1 client.
In this situation i need 4 clients with exclusive proxy server and 1 client is awaiting free proxy server.
Right now i think maxconn directive on server can be helpful, but is not a solution i looking for.