打开nginx配置文件vhosts.conf,加上try_files $uri $uri/ /index.php?$query_string; ,如下

location / {
            index  index.html index.htm index.php;
            #autoindex  on;
            try_files $uri $uri/ /index.php?$query_string;
}

  

相关文章:

  • 2021-07-20
  • 2021-10-31
猜你喜欢
  • 2022-12-23
  • 2021-11-25
  • 2021-07-19
  • 2021-11-12
  • 2021-08-04
相关资源
相似解决方案