首页 > 其他 > 详细

nginx: [emerg] no events section in configuration

时间:2018-05-08 16:13:50      阅读:2701      评论:0      收藏:0      [点我收藏+]
问题: nginx: [emerg] no "events" section in configuration
描述:

希望能告诉我怎么解决,不要太复杂吧。谢谢
我还想知道如果不配置,对nginx会有影响吗


解决方案1:

加如下的配置:

events {
  worker_connections  1024;  ## Default: 1024
}

不加没有啥影响,不加nginx就用默认的1024


nginx: [emerg] no events section in configuration

原文:http://blog.51cto.com/sf1314/2114024

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!