@deepagarhaproxy wrote:
Hello
I am trying to do stickiness on X-SSL-Client-CN but requests still go roundrobin on both backend servers.
The CN is set properly in SSL connection from client to HAProxy.Please suggest missing config?
X-SSL-Client-CN = client
backend cdp1
mode tcp
balance roundrobinstick-table type string size 204800 stick store-request req.hdr(X-SSL-Client-CN) stick match req.hdr(X-SSL-Client-CN) server app1 1.0.0.1:22 check server app2 1.0.0.2:22 check timeout server 2h
Posts: 5
Participants: 2