Skip to content

RishabhKodes/nginx-loadbalancer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nginx-loadbalancer

About The Project

This is a demonstration of load-balancing using nginx, done on one of my previous projects NodeMailer. In this I have 3 secondary ports to run the server for the webapp, defined in the nginx.conf file.
If we have excess load on the primary port the traffic will be directed to any of the load-balancing ports with the help of nginx. Finally, the webapp and the nginx have been integrated on a single server using Docker, specifically Docker-Compose.

Built With

This is a list of the major frameworks that were used in this project using:-

Getting Started

Installation

Using Docker-Compose

  1. Clone the repo
git clone https://github.com/RishabhKodes/nginx-loadbalancer.git
  1. Goto the project directory
cd nginx-loadbalancer
  1. Run using docker-compose:
docker-compose up -d

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contact Me

Rishabh Bhandari -

LinkedIn

rishabhbhandari6@gmail.com

My Website

Made with ❤️
by e33or_assasin

About

LoadBalancing done on a Node Webapp using Nginx deployed on AWS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published