refactor nginx-vhost to really support multiple virtualhost and multiple certificates