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

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

原文地址:https://www.cnblogs.com/ikai/p/13683302.html