change vhost template to nginx