转载:http://www.02405.com/soft/linux/1841.html
方法一:在网站伪静态下添加(亲测有用)
location / {
if (!-e KaTeX parse error: Expected '}', got 'EOF' at end of input: … rewrite ^(.*) /index.php?s=$1 last; break;
}
}
ThinkPHP5+宝塔+nginx环境下访问路由出现404问题
方法二:在伪静态下添加
try_files $uri uri//index.php?uri/ /index.php?query_string;

相关文章:

  • 2021-08-19
  • 2021-12-05
  • 2021-10-15
  • 2022-12-23
  • 2021-10-01
  • 2021-09-10
  • 2021-10-12
  • 2021-05-27
猜你喜欢
  • 2021-12-07
  • 2021-11-27
  • 2021-12-06
  • 2021-06-30
  • 2022-01-13
  • 2021-11-19
相关资源
相似解决方案