普通用户启动nginx时抛出users相关错误
问题描述:普通用户启动nginx抛出如下错误:nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /usr/local/nginx/conf/nginx.conf:2产生原因:因为nginx的master process进程要占用1024端口,而默认情况下Linux的1024端口是只有root用户才有权限占用,所以使
原创
2020-05-26 19:25:01 ·
9278 阅读 ·
0 评论