Loading...
URL重写模式:以后遇到相同问题,首先要想到URL重写模式。修改后记得重启服务器nginx 配置location / { if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=/$1 last; } }nginx全部代码 server ...