Hello,
I'm trying to confiugre haproxy with https. I have a problem when I use 
backend, but, when I dont' use backend, it works, it's extrange.
Working conf:
listen proxy-https *:443       mode tcp #      option ssl-hello-chk       
balance roundrobin       option httpchk GET /test.txt       http-check expect 
string OK       server testweb01 192.168.1.1:443 check port 80 inter 5000 
fastinter 1000 downinter 1000 rise 2 fall 2       server testweb02 
192.168.1.2:443 check port 80 inter 5000 fastinter 1000 downinter 1000 rise 2 
fall 2

Not working conf:

listen proxy-https *:443       mode tcp       option ssl-hello-chk       
balance roundrobin       default_backend back-https
backend back-https       option httpchk GET /test.txt       http-check expect 
string OK       server testweb01 192.168.1.1:443 check port 80 inter 5000 
fastinter 1000 downinter 1000 rise 2 fall 2       server testweb02 
192.168.1.2:443 check port 80 inter 5000 fastinter 1000 downinter 1000 rise 2 
fall 2

Any idea, why?

Regards!,

Ricardo F.
                                          

Reply via email to