location / { if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; break; } }
apache 转 nginx 需要配置的伪静态
原文:https://www.cnblogs.com/yulongcode/p/11155194.html