This topic created in 4662 days ago, the information mentioned may be changed or developed.
配置好后用nginx -t,提示the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1,怎么办?
4 replies • 1970-01-01 08:00:00 +08:00
 |
|
你的当前用户不是 root?
|
 |
|
nginx启动时change user失败了,说明你没有权限;用root或者sudo启动吧
|
 |
|
要么用root检查参数是否正确,要么你普通用户有sudo权限。
|