haproxy will get 404 error for about 2-3 seconds if one of backend server down
问题 this is the haproxy config. defaults option forwardfor log global option httplog log 127.0.0.1 local3 option dontlognull retries 3 option redispatch timeout connect 5000ms timeout client 5000ms timeout server 5000ms listen stats bind *:9000 mode http .............................................. backend testhosts mode http balance roundrobin option httpchk HEAD /sabrix/scripts/menu-common.js server host1 11.11.11.11:9080 check inter 2000 rise 1 fall 2 server host2 11.11.11.12:9080 check