nginx启动后只有一个master节点,且 /media/disk1/nginx/logs/error.log下的日志如下
包含:singal process started
worker process 9204 exited with fatal code 2 and connot be respawned
***Permission denied
解决方法:
编辑nginx.conf
user nginx 修改为 user root(没有的话,新增一下)
重启nginx