nginx [warn] the "user" directive makes sense only if the maste

丹柯yx

关注

阅读 71

2022-11-29

nginx配置了user   nginx nginx;
启动的时候直接报warn:
"[warn] 5052#0: the "user" directive makes sense only if the master process runs with super-user privileges, ignored
in /opt/modules/nginx/conf/nginx.conf:2 "

办法一:使用root用户启动nginx就可以不报这个错

方法二:无视这个warn,并不影响正常业务

精彩评论(0)

0 0 举报