fix(nginx): set default port to 80

port 0 is an invalid nginx config
fix(upstart): only adapt nginx config if there is a port open