brooklyncentral/brooklyn — pull request #283 by ahgittin (2012-08-22 13:00:52+00:00)
Title: nginx run multiple instances, autodetect port, and automatically detect protocol

figure out the port to run, like we do in other entities (we do this by not trying to infer from a specified URL but that was not a good idea in any case, as noted in code).

and fix bug where protocol could be null.