修改配置文件

This commit is contained in:
陈俊宏 2024-07-02 16:14:16 +08:00
parent d771b54ae5
commit b25aece9ae
2 changed files with 8 additions and 0 deletions

0
public/.htaccess Normal file
View File

8
public/nginx.htaccess Normal file
View File

@ -0,0 +1,8 @@
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;
  }
}