Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.79 KB

README.md

File metadata and controls

61 lines (43 loc) · 1.79 KB

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

[email protected]

My Website

Made with ❤️
by e33or_assasin