So we have 2 webservers on the backend with SSL encryption. We want to keep this the way it is. Is there a way for HAPROXY to balance these 2 servers with sticky sessions enabled?
how can this be done? Currently when trying it this way; defaults log global mode http option httplog option dontlognull retries 3 option redispatch maxconn 2000 contimeout 5000 clitimeout 50000 srvtimeout 50000 stats enable stats uri /stats frontend http-in bind *:80 acl is_ww2_test1_com hdr_end(host) -i ww2.test1.com use_backend ww2_test1_com if is_ww2_test1_com backend ww2_test1_com balance roundrobin cookie SERVERID insert nocache indirect option httpchk option httpclose option forwardfor server Server1 10.10.10.11:80 cookie Server1 server Server1 10.10.10.12:80 cookie Server2 Since the 2 servers are encrypted on port 443 (with the main front page on port 80 not encrypted), the above setup works until it hits 443 where i get the error "Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.". Port 443 on the HAPROXY frontend is using Pound for the encryption. However both backend servers have a Tomcat Keystore (signed through thawte) which I doubt will be compatable with Pound. (and I don't want to resign the cert or get a new cert) Can I somehow get HAPROXY to balance these 2 servers with proper sticky session handling? TIA!