haproxy 503 service unavailable no server is avaible to handle this request (已解决)

haproxy+应用服务 报错
haproxy 503 service unavailable no server is avaible to handle this request

haproxy 对server检测时是对默认页面进行检测,如果没有默认错误,则直接报503错误,不会转发到相应的server上去。

添加 option httpchk 检测页面位置如:/login/check.jsp.

随机文章