1if (!-f $request\_filename){
2    rewrite (/index.php)?(.\*) /index.php?s=$2;
3}

(/index.php)? 是为了支持 Pathinfo 模式