Skip to content

bucefalog/docker_nginx_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker_nginx_test

Project to test nginx using docker

Desciption

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.

Run instructions

Using docker run

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

Using docker compose

docker compose up -d

About

Project to test nginx using docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published