1.进入nginx\conf\vhosts.conf
2.
加入的规则:
if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; break; }
然后重启nginx