Sign inSign up

yarreg/nginx-proxy-docker

By yarreg

•Updated over 7 years ago

A simple container that proxies requests to an external host.

Image
0

7.8K

yarreg/nginx-proxy-docker repository overview

⁠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

 

⁠Docker Hub

https://hub.docker.com/r/yarreg/nginx-proxy-docker/⁠

Tag summary

Content type

Image

Digest

Size

7.4 MB

Last updated

almost 8 years ago

docker pull yarreg/nginx-proxy-docker