laravel 路由404问题

找了很多资料都没有解决这个问题,最后在vhosts.conf文件里面添加了一段就可以了

try_files $uri $uri/ /index.php?$query_string;