nginx tp6 通过composer加载验证码后显示404 解决方案

 location / {
            index index.php index.html error/index.html;
            if (!-e $request_filename)
             {
                rewrite  ^(.*)$  /index.php?s=/$1 last;
             }
}

posted @ 2020-09-17 09:15  青柚  阅读(474)  评论(0编辑  收藏  举报