折腾一下午都没发现问题,最后发现是权限问题。
gpasswd -a nginx root
chmod g+x /root
暴力加到root中
问题解决
同时要确保 启动进程用户 跟 配置使用用户是一致的
ps aux | grep "nginx: worker process"