--link aware single app nginx reverse proxy
Let's say your app is running in an isolated docker container called yourapp, perhaps like so:
docker run -d --name yourapp you/yourapp
Suppose you want yourapp available on the internet, but you want nginx to filter and proxy outside connections. Now run
docker run -d -p 80:80 --link yourapp:app drpaulbrewer/nginx-reverse-proxy
and your'e done!
Docker Pull Command