cmbYouku_Api/public/nginx.htaccess

8 lines
235 B
Plaintext
Raw Normal View History

2024-07-02 16:14:16 +08:00
location / {
  index index.php index.html;
  if (!-e $request_filename) {
    rewrite ^/index.php(.*)$ /index.php?s=$1 last; #必须在前面
    rewrite ^(.*)$ /index.php?s=$1 last;
    break;
  }
}