卡在 发起Post请求...
Opened this issue · 1 comments
o1f commented
langren1353 commented
查了下,我和你同一个错误,其实就是404无法访问
getConfig、setConfig、upImg等方法
然后手动去设置了静态重定向规则:
if (!-e $request_filename){
rewrite ^/public/api$ /public/index.php?s=api last; break;
rewrite ^/public/index.php/(.*)$ /public/index.php?s=$1 last; break;
}
这样写好就行了,懒得去管为什么,反正可以了
其次如果还是不行的话,---我后来再次部署遇到了错误,错误代码500
于是删除了文件夹:
/runtime
然后再刷新就好了