宝塔安装项目,打开报错 nginx404 Not Found
参考链接
https://blog.youkuaiyun.com/weixin_41676933/article/details/103858181
解决办法
添加下列代码到:vim www/server/panel/vhost/nginx/*******.conf
location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=/$1 last;
}
}
转载
2020-08-15 16:48:46 ·
3713 阅读 ·
1 评论