Nginx-Thinkphp-重写规则

#nginx thinkphp 重写规则

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