nginx.rewrite 111 B

12345
  1. location ~^/ {
  2. if (!-e $request_filename){
  3. rewrite ^(.*)$ /index.php?s=$1 last; break;
  4. }
  5. }