0
配置文件设置"user nginx;" 其中nginx是系统用户。启动运行都正常,就是每个一个小时左右就会在错误日志打印:
2017/08/08 05:40:45 [warn] 6377#0: the "user" directive makes sense only if the master proce
ss runs with super-user privileges, ignored in /app/local/nginx/conf/nginx.conf:1
2017/08/08 05:40:45 [warn] 6379#0: the "user" directive makes sense only if the master proce
ss runs with super-user privileges, ignored in /app/local/nginx/conf/nginx.conf:1
2017/08/08 05:40:46 [warn] 6381#0: the "user" directive makes sense only if the master proce
ss runs with super-user privileges, ignored in /app/local/nginx/conf/nginx.conf:1
2017/08/08 06:40:49 [warn] 6426#0: the "user" directive makes sense only if the master proce
ss runs with super-user privileges, ignored in /app/local/nginx/conf/nginx.conf:1
2017/08/08 06:40:50 [warn] 6428#0: the "user" directive makes sense only if the master proce
ss runs with super-user privileges, ignored in /app/local/nginx/conf/nginx.conf:1
2017/08/08 06:40:50 [warn] 6430#0: the "user" directive makes sense only if the master proce
ss runs with super-user privileges, ignored in /app/local/nginx/conf/nginx.conf:1
2017/08/08 07:40:54 [warn] 6475#0: the "user" directive makes sense only if the master proce
ss runs with super-user privileges, ignored in /app/local/nginx/conf/nginx.conf:1
2017/08/08 07:40:54 [warn] 6477#0: the "user" directive makes sense only if the master proce
ss runs with super-user privileges, ignored in /app/local/nginx/conf/nginx.conf:1
2017/08/08 07:40:54 [warn] 6479#0: the "user" directive makes sense only if the master proce
ss runs with super-user privileges, ignored in /app/local/nginx/conf/nginx.conf:1
2017/08/08 08:40:58 [warn] 6524#0: the "user" directive makes sense only if the master proce
ss runs with super-user privileges, ignored in /app/local/nginx/conf/nginx.conf:1
2017/08/08 08:40:58 [warn] 6526#0: the "user" directive makes sense only if the master proce
ss runs with super-user privileges, ignored in /app/local/nginx/conf/nginx.conf:1
2017/08/08 08:40:59 [warn] 6528#0: the "user" directive makes sense only if the master proce
ss runs with super-user privileges, ignored in /app/local/nginx/conf/nginx.conf:1
不知道为何