Question

HAProxy not balancing

Hello! I’ve two webservers, same configuration, but in Statistics Report I can see that webserver2 is green, but not receiving data, only webserver1 is receiving data, I can conclude that webserver 2 isn’t working. If i stop Apache (I’m using Nginx+Apache2) both webservers receive data, then the problem is with Apache+Nginx+HAProxy combination? Is there anyone or any manual that can help? I’ve tried different pages without success. Best.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi Pablo, <br> <br>For your load balancer, I think you’d be better off using Nginx or Apache+HAProxy, but not both. What are the reasons that you want all three? Are you serving content directly from the load balancer as well, or is it strictly a load balancer?