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;
            }

猜你喜欢

转载自www.cnblogs.com/xiaobiaomei/p/9750128.html