vi /usr/local/nginx/conf/nginx.conf

     重写----

  if (!-e $request_filename) {
    rewrite ^/facebook/index.php/(.*)$ /facebook/index.php?s=$1 last;

    break;

  }