thinkphp部署后404

那你肯定是缺少了伪静态

location / {
    index  index.html index.htm index.php;
    #autoindex  on;
    if (!-e $request_filename) {
        rewrite  ^(.*)$  /index.php?s=/$1  last;
        break;
    }
}
点赞

发表评论

电子邮件地址不会被公开。必填项已用 * 标注