1:项目入口
确认项目的入口是否配置错误
2:修改内容
location / { index index.html index.htm index.php l.php; autoindex on; }
location / { index index.html index.htm index.php l.php; #autoindex on; if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=/$1 last; break; } }