HAproxy loadbalancer error 503 Service Unavailable No server is available to handle this request
i have to make a loadbalancer for two servers hosted on a hostserver. When i surf to my site it gives a 503 error "Service Unavailable No server is available to handle this request." Does someone knows a fix for this? this is my loadbalancer task --- - name: install HAproxy apt: name: haproxy state: latest - name: copy config template: src: haproxy.j2 dest: /etc/haproxy/haproxy.cfg notify: - restart haproxy - name: open the listening port ufw: rule: allow port: '80' proto: tcp notify: - restart ufw This is my haproxy template global log 127.0.0.1 local2 chroot /var/lib/haproxy pidfile /var/run
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.