nginx.htaccess 164 B

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