When configuring HAProxy, I would like to send traffic to certain servers based on the cookie.
Example, there is the HAProxy server, and 2 web servers (serverA and serverB)
When someone logs in, a cookie is created loginCreds=user:company
When John from CompanyA comes in, his cookie is loginCreds=John:CompanyA
His traffic will be directed to serverA.
Is this possible, and if so, how do you set it up?