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,并不影响正常业务
微信扫一扫
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,并不影响正常业务
相关推荐