CI框架部署到nginx环境中后,报404错误(解决方法)

解决方法:在nginx配置文件中加上如下一段代码就可以了!


location / {
        index  index.php;
        try_files $uri $uri/ /index.php?$uri&$args;
    }

猜你喜欢

转载自blog.csdn.net/k8080880/article/details/78172829
今日推荐