Project to test nginx using docker
This project will generate two containers using docker. One container runs an html web server using nginx. The other container runs nginx as a reverse proxy for the web server.
docker build -t nserver --target server .
docker build -t nproxy --target proxy .
docker run -d -p 8080:80 --name nserver nserver
docker run -d -p 8081:80 --name nproxy nproxy
docker compose up -d