location / {
            try_files $uri $uri/ /index.php?$query_string; #这项配置解决访问根目录以外路径报404的错误
            if (!-e $request_filename) { #这里便是隐藏入口文件的配置
          rewrite  ^(.*)$  /skadmin.php?s=/$1  last;
          break;
            }
            index  index.html index.htm index.php;
            #autoindex  on;
        }

相关文章:

  • 2021-12-08
  • 2021-08-21
  • 2021-12-16
  • 2021-11-25
  • 2022-12-23
  • 2022-12-23
  • 2021-10-23
  • 2021-05-25
猜你喜欢
  • 2022-12-23
  • 2022-01-06
  • 2022-01-09
  • 2022-01-21
  • 2021-10-30
  • 2022-02-25
  • 2022-12-23
相关资源
相似解决方案