yii2 nginx rewrite

location / {
if (!-e $request_filename){
rewrite ^/(.*) /index.php last;
}
}

原文链接:,转发请注明来源!

发表评论