if (!-e $request_filename) {

  rewrite  ^/bbs/(.*)$  /bbs/index.php?s=$1  last;

 break;

}