sudo systemctl enable haproxy sudo systemctl start haproxy sudo systemctl status haproxy curl http://localhost 2. If you mean NGINX as a load balancer Install NGINX sudo apt install nginx -y # Debian/Ubuntu Configure load balancing Edit /etc/nginx/conf.d/lb.conf :
Restart:
upstream backend { server 192.168.1.10; server 192.168.1.11; } server { listen 80; location / { proxy_pass http://backend; } } lb tool setup
Best Viewed in Mozilla Firefox, >IE6, Chrome, opera. Mobile Version
©2009-2012 All Rights reserved by Owner. Stuffadda ® is a Trade Mark owned by the owner of this page.
By visiting this website you are accepting all the T&Cs.
Please read the Disclaimer |