added support for nginx and vhost stuff.