Skip to content

cojuny/nginx-reverse-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nginx Reverse Proxy

Basic nginx reverser proxy implementation using docker, load balancing three nginx http servers.

The directory layout

.
├─ reverse-proxy 
│  	├─ Dockerfile
│		└─ nginx.conf
│ 
├─ server1
│	└─ index.html
│ 
├─ server2
│ 	└─ index.html
│ 	
├─ server3
│ 	└─ index.html
│ 	
├─ compose.yaml
│
└─ README.md

How to run:

  1. Install Docker Engine.
  2. Install Docker Compose V2 plugins.
  3. Locate to the directory.
  4. Run the following:
docker compose up -d
  1. Visit and view the content in following url:
http://localhost

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors