windows系统 phpstudy集成环境,nginx服务, 安装laravel后除了首页可以访问,make:auth后的注册和登录页面都不能访问,网上查找原因发现只要在域名后面把index.php写上就行,然后知道是pathinfo 的问题,在nginx的vhosts.conf文件上按照文档的指导加了一行

try_files $uri $uri/ /index.php?$query_string;

try_files $uri $uri/ /index.php?$query_string;

 

相关文章:

  • 2021-05-19
  • 2021-07-10
  • 2021-05-23
  • 2021-09-22
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-25
  • 2021-10-29
  • 2022-12-23
  • 2021-10-26
  • 2021-10-04
相关资源
相似解决方案