The sample config file for haproxy in the web2py book is for haproxy prior to version 1.6. From what I can see, the appsession keyword is no longer valid.
My goal is to have roundrobin load balancing and sticky sessions.
I found an example online that says the following will do it.
...snip...
balance roundrobin
cookie SRVNAME insert
server server-name 10.10.10.10:5011 cookie S1 check
server server-name2 10.10.10.11:5011 cookie S2 check
...snip...
Anyone have a sample haproxy.cfg file for haproxy v 1.6 or newer?
-Jim