Skip to content

Atadzhan/nginx-load-balancing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Load balancing Sample

How to use :

  • To launch the APP, just open a terminal, go inside the folder, at the same level with docker-compose.yml, and execute : docker-compose up
  • This will spin up the dockerised architecture. After that, you need to open a browser and tape : http://localhost:8080
  • It will redirect 60% traffic to app1 and 40% traffic to app2.
  • To quit, you can just CTRL + C in the terminal and it will stop the application and destroy the created containers.

Releases

No releases published

Packages

No packages published