Sign inSign up

vassilvk/nginx-proxy

By vassilvk

Updated almost 11 years ago

A port of jwilder/nginx-proxy to enable the new docker networking features

Image
0

1.5K

vassilvk/nginx-proxy repository overview

A fork of jwilder/nginx-proxy to enable the new docker networking interface.

Used bits from schmunk's comment here.

Usage

To run it:

$ docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro vassilvk/nginx-proxy

Then start any containers you want proxied with an env var VIRTUAL_HOST=subdomain.youdomain.com and VIRTUAL_NETWORK=true

$ docker run -e VIRTUAL_HOST=foo.bar.com -e VIRTUAL_NETWORK=true ...

Note that the rest of the functionality covered by jwilder/nginx-proxy is the same including the ability to pin to specific VIRTUAL_PORTs.

Tag summary

Content type

Image

Digest

Size

70.2 MB

Last updated

almost 11 years ago

docker pull vassilvk/nginx-proxy