πŸ“¦ EqualifyEverything / nginx-proxy

Custom Nginx container

β˜… 0 stars β‘‚ 0 forks πŸ‘ 0 watching
πŸ“₯ Clone https://github.com/EqualifyEverything/nginx-proxy.git
HTTPS git clone https://github.com/EqualifyEverything/nginx-proxy.git
SSH git clone git@github.com:EqualifyEverything/nginx-proxy.git
CLI gh repo clone EqualifyEverything/nginx-proxy
Bentley Hensel Bentley Hensel Trying something new… 84cb327 2 years ago πŸ“ History
πŸ“‚ 84cb3271fc9f014d343c092c732c35b117de318c View all commits β†’
πŸ“ .github
πŸ“„ .gitignore
πŸ“„ Dockerfile
πŸ“„ nginx.conf
πŸ“„ README.md
πŸ“„ README.md

Custom Nginx Load Balancer

This custom nginx container is designed to act as a load balancer for the a11y-proxy service in your Docker Compose deployment. The container is built on top of the official nginx image and includes a custom nginx.conf configuration file.

Features

  • Load balances traffic between multiple instances of the a11y-proxy service
  • Uses the least connection algorithm for load balancing
  • Listens on port 80 for incoming requests

Usage

Prerequisites

  • Docker
  • Docker Compose

Files

Ensure that you have the following files in your project directory:

  • Dockerfile: Custom Dockerfile for building the nginx container
  • nginx.conf: Custom nginx configuration file

Configuration

The nginx.conf configuration file is embedded in the custom nginx container. To modify the load balancer configuration, edit the nginx.conf file and rebuild the container using the docker-compose up --build command.