add support for setting the nginx hostname