【Nginx】Nginx配置REWRITE隐藏index.php 只需要在server里面加上 if (!-e $request_filename) { rewrite ^/(.*)$ /index.php/$1 last; break;}