Change nginx vhost to defined type