manage
By:
manage

haproxy acl is not matched sometimes

July 6, 2015 728 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

Thanks

Below is my config.

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

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