tp5在apache下能访问,但放到nginx下报404
2021-03-03 20:28
标签:mic http info apach com file lazy loading img 原因:多数是因为在nginx下找不到路由 tp5在apache下能访问,但放到nginx下报404 标签:mic http info apach com file lazy loading img 原文地址:https://www.cnblogs.com/wangyuyanhello/p/13272649.htmlif (!-d $request_filename){
set $rule_0 1$rule_0;
}
if (!-f $request_filename){
set $rule_0 2$rule_0;
}
if ($rule_0 = "21"){
rewrite ^/(.*)$ /index.php/$1 last;
}
文章标题:tp5在apache下能访问,但放到nginx下报404
文章链接:http://soscw.com/index.php/essay/59675.html