modify for vhosts
modify for nginx vhosts