search

Home  >  Q&A  >  body text

nginx: [emerg] no "events" section in configuration

I hope you can tell me how to solve it. It shouldn't be too complicated. Thank you
I also want to know if it is not configured, will it have any impact on nginx

阿神阿神2750 days ago2147

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-05-16 17:17:27

    Add the following configuration:

    events {
      worker_connections  1024;  ## Default: 1024
    }

    It will have no effect if you don’t add it. If you don’t add nginx, just use the default 1024

    reply
    0
  • Cancelreply