laravel可以访问 入口文件,访问其他路由出现404
vim /usr/local/nginx/conf/fastcgi.conf
注释掉 PHP_ADMIN_VALUE
#fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/proc/";
并且 nginx.conf
location / {
try_files $uri $uri/ /index.php?$query_string;
}