Hi guys,
I am using haproxy 1.4.7 and I cannot get stick on src to work. It
appears to be ignoring my sticky src. I am using a vanilla haproxy.
When I use curl to visit my configured proxy I am always cycled to a
new server, each time I hit the page. If src stickiness was working I
would expect to always connect to the same backend server.
I've attached my configuation below, any help would be super appreciated.
Thanks again,
Ben
#configuration below:
defaults
log global
mode http
option httplog
retries 3
option redispatch
maxconn 2000
contimeout 5000
clitimeout 50000
srvtimeout 50000
listen appli1-rewrite 0.0.0.0:10001
mode tcp
balance roundrobin
stick-table type ip size 200k expire 20m
stick store-request src
stick match src
server app1_1 127.0.0.1:80 id 1
server app1_2 127.0.0.1:81 id 2
server app1_3 127.0.0.1:82 id 3
server app1_4 127.0.0.1:83 id 4