[warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /usr/local/nginx/conf/nginx.c_nginx

 

 

带有sudo 权限执行就可以了

相信坚持的力量,日复一日的习惯.