Skip to content

yarreg/nginx-proxy-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nginx proxy

A simple container that proxies requests to an external host.

Examples:

docker run -d --name=proxy -p 8080:80 -e HOST=example.com yarreg/nginx-proxy-pass-docker

Now all requests to http://localhost:8080 go to http://example.com

   

docker run -d --name=proxy -p 8080:80 -e HOST=example.com -e PATH_PREFIX=/api/v1.0/ yarreg/nginx-proxy-pass-docker

Now all requests to http://localhost:8080/api/v1.0/ping go to http://example.com/ping

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published