Skip to content

bronifty/nginx-reverse-proxy-in-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nginx-reverse-proxy-in-docker

docker-compose up -d
  • GET endpoints (4 servers being proxied - hit each one in your browser window):

    • /
    • /nginx
    • /apache
    • /node2
  • notes:

    • 4 servers running; 2 on port 80, 2 on port 3000; nginx reverse proxy's all 4 on localhost (default port 80) by the location (route or path on the browser bar - like /node or /apache)
  • other helpful docker commands:

docker-compose down
docker container stop $(docker ps -aq)
docker system prune -af

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published