原文链接
linux中启动nginx报错:
[warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /usr/local/webserver/nginx/conf/nginx.conf:2
解决方法:
1.使用root用户登录linux
2.进入…/nginx/sbin目录下
3.执行代码
chown root nginx
chmod u+s nginx