nginx.htaccess 199 B

1234567
  1. location / {
  2. rewrite ^/$ http://$host/index/#/ break;
  3. if (!-e $request_filename){
  4. rewrite ^/index/ /index/index.html break;
  5. rewrite ^(.*)$ /index.php?s=$1 last; break;
  6. }
  7. }