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 

My goal is to have roundrobin load balancing and sticky sessions.

I found an example online that says the following will do it.

balance roundrobin
cookie SRVNAME insert
server server-name cookie S1 check
server server-name2 cookie S2 check

Anyone have a sample haproxy.cfg file for haproxy v 1.6 or newer?


- (Documentation)
- (Source code)
- (Report Issues)
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to