haproxy acl is not matched sometimes

July 6, 2015 545 views
Scaling Load Balancing Clustering Ubuntu

I have a strange problem, sometimes haproxy cannot match the host so it cannot use the backend and connections is being aborted in the browser. Do you know any solutions for this kind of problem. I am using HA-Proxy version 1.5.13 2015/06/23


Below is my config.

frontend http-in
    bind *:80       
    acl host_blog hdr(host) -i
    use_backend wwwother if host_blog

backend wwwother
    mode   http
    option  httplog
    option  httpclose
    option  http-server-close
        option forwardfor except
    balance first
    server node-1 10.133.157.XXX:80 check
Be the first one to answer this question.