Basic nginx reverser proxy implementation using docker, load balancing three nginx http servers.
.
├─ reverse-proxy
│ ├─ Dockerfile
│ └─ nginx.conf
│
├─ server1
│ └─ index.html
│
├─ server2
│ └─ index.html
│
├─ server3
│ └─ index.html
│
├─ compose.yaml
│
└─ README.md
- Install Docker Engine.
- Install Docker Compose V2 plugins.
- Locate to the directory.
- Run the following:
docker compose up -d- Visit and view the content in following url:
http://localhost