#修改 nginx.conf 文件 location / { if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=$1 last; break; } }