HAProxy maintain affinity based on ssl session id

Hi All,

How would I configure something like this using the rancher HAProxy?

Thank you!

Regards,

Riaan

If you’re doing termination at haproxy (protocol=http and ssl=checked in the listeners section of the UI) then you can use regular stickiness because it’s decrypting the connection there. If you’re not (protocol=tcp and ssl=unchecked) then there is not currently a way to put in a config like that, it will require https://github.com/rancher/rancher/issues/2179 .

Thank you @vincent, unfortuanatle im not able to terminate ssl on haproxy and need to pass through on tcp. I will wait for that ticked then.

Regards,
Riaan