Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 513 Bytes

README.MD

File metadata and controls

9 lines (9 loc) · 513 Bytes

#Using haproxy server as a load balancer for nginx servers Enviroment: Ubuntu 18.04.5 LTS + docker system

To run

  1. install docker
  2. Run: docker-compose up -d
  3. Open browser (google chrome,...) and access http://0.0.0.0/ to see response
  4. Access http://0.0.0.0:8900/stats to see stats of haproxy server
  5. Dont forget remove docker-compose when dont need anymore: docker-compose down