一. nginx省略 index.php # 省略 index.php location /{ if (!-e $request_filename){ rewrite ^/(.*)$ /index.php?s=$1 last; break; }}