打开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-09-03
  • 2021-09-01
  • 2021-05-30
猜你喜欢
  • 2022-12-23
  • 2021-11-25
  • 2021-11-29
  • 2021-10-31
  • 2021-09-04
相关资源
相似解决方案