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

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (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 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to