Hi Jayapal,
Op 15-9-2015 om 11:07 schreef Jayapal Reddy:
Hi All,
ssh proxy is send to both machines, it is honouring the session cookie.
Below is my harpy config snippet*, complete logs can be found here.
https://www.digitalocean.com/community/questions/haproxy-appcookie-is-not-working
I have also followed the below tutorial but it is not working.
https://www.digitalocean.com/community/tutorials/how-to-use-haproxy-to-set-up-http-load-balancing-on-an-ubuntu-vps
Can some show some light on where is the issue, Is it specific to
haproxy version ?
-Jayapal
*
|listen 10_220_166_226-80 10.220.166.226:80 <http://10.220.166.226:80>
balance roundrobin server 10_220_166_226-80_0 10.10.1.242:80
<http://10.10.1.242:80> check cookie 10_10_1_242-80 server
10_220_166_226-80_1 10.10.1.89:80 <http://10.10.1.89:80> check cookie
10_10_1_89-80 appsession escalation len 37 timeout 30m|
|You could try with: appsession PHPSESSID len 37 timeout 30m
As that is the cookiename you are trying stick on.
However do take note that 1.6 will drop support for appsession in favor
of cookie and or stick-table directives. ||So if your configuring a new
environment it could be wise to first look into those..
|
|mode http option httpclose|