1. 程式人生 > >tp5在apache下能訪問,但放到nginx下報404

tp5在apache下能訪問,但放到nginx下報404

nginx color http code spa html clas class index

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

技術分享圖片

tp5在apache下能訪問,但放到nginx下報404