progrium/dokku — pull request #567 by stenius (2014-05-05 13:19:00+00:00)
Title: setup port forwards to only listen locally

I had to make these changes while running on a Linode. I was having trouble closing down the ports with UFW/shorewall so I wanted my containers to only listen on the localhost.

I renamed the variable PORT in the nginx conf plugin to HOSTPORT and this variable now contains "127.0.0.1:5000"