๐Ÿ“ฆ 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 + aea8a13 2 years ago ๐Ÿ“ History
๐Ÿ“‚ aea8a13cc07b7706e56bab70f538aa3f07aa0df5 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.