@Stuart wrote:
Hi,
I’m new to HAProxy and need a little bit of help. I’m running a few things using docker and thus have decided to use HAProxy to forward some internal DNS records that I have created.
However I am getting 503 Service Unavailable No server is available to handle this request when trying to reach any of these addresses, they are all up and working when I connect using the IP address and port. Below is my haproxy.cfg if someone could point me in the right direction.
Thanks!
global log 127.0.0.1 local2 maxconn 40000 user haproxy group haproxy deamon defaults mode tcp log global option http-server-close option redispatch retries 3 timeout connect 5000 timeout client 5000 timeout server 5000 frontend FRONT_END_DEFAULT bind *:80 mode http maxconn 10000 acl ACL_HUBLOCAL hdr_dom(host) -i hub.local acl ACL_HOMEASSISTANT hdr_dom(host) -i homeassistant.local acl ACL_PIHOLE hdr_dom(host) -i pihole.local use_backend BACKEND_HUBLOCAL if ACL_HUBLOCAL use_backend BACKEND_HOMEASSISTANT if ACL_HOMEASSISTANT use_backend BACKEND_PIHOLE if ACL_PIHOLE backend BACKEND_HUBLOCAL balance roundrobin mode http server HUBLOCAL 192.168.0.250:81 observe layer7 check fall 3 rise 5 inter 2000 weight 10 backend BACKEND_HOMEASSISTANT balance roundrobin mode http server HOMEASSISTANT 192.168.0.250:8123 observe layer7 check fall 3 rise 5 inter 2000 weight 10 backend BACKEND_PIHOLE balance roundrobin mode http server PIHOLE 192.168.0.250:82 observe layer7 check fall 3 rise 5 inter 2000 weight 10
Posts: 1
Participants: 1