add check_path to nginx::resource::upstream

1, add check_path to nginx::resource::upstream 
2, pass index_files from vhost to locations