Fix bug in nginx vhost template