Skip to content

System containing a web server, cache server and load balancer with Ningx.

Notifications You must be signed in to change notification settings

vitor-msp/nginx

Repository files navigation

Reverse Proxy, Cache and Load Balancer with Nginx

diagram

Execution

  1. Clone this repository
git clone https://github.com/vitor-msp/nginx.git
  1. Access the downloaded folder
cd nginx
  1. Run Docker Compose
docker-compose up -d

Notes

  1. Create the DNS entries below on your machine:
127.0.0.1 site.nginx
127.0.0.1 api.nginx
127.0.0.1 blue.api.nginx
127.0.0.1 green.api.nginx