Hoist out the choice of vhost for nginx