tp5在apache下能访问,但放到nginx下报404

index  index.php index.html index.htm;
            if ( -f $request_filename) {
                break;
            }
            if ( !-e $request_filename) {
                rewrite ^(.*)$ /index.php/$1 last;
                break;
            }

 

posted on 2018-10-07 14:47  薇薇123456  阅读(148)  评论(0编辑  收藏  举报

导航