Fix for nginx vhost finish script