nginx: [emerg] no events section in configuration

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

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


解决方案1:

加如下的配置:

events {
  worker_connections  1024;  ## Default: 1024
}

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


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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!