0
点赞
收藏
分享

微信扫一扫

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

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 条评论