This project is an example of how to load balance traffic (layer 7) with NGINX.
docker-compose up
Then go to: http://localhost, then you should see APPID = 8000
, if you keep reloading the page this APPID
will range between 8000, 8001 and 8002
You can check other load balancing implementations by accessing the routes: http://localhost/app1 and http://localhost:app2
Pull requests and suggestions are welcome 😁.