1:看情况是否需要安装compoer工具
安装compoer.note
安装compoer.note
2:在conf文件中添加重定向
rewrite ^/public/index.php/(.*)$ /public/index.php?s=$1 last;
location /{
try_files $uri $uri/ /public/index.php$is_args$query_string;
}