报错原因:没有 events 上下文解决方案:修改 nginx.conf 配置文件,增加 events 配置。2022/06/12 16:25:32 [emerg] 37663#37663: no "events" section in configuration 报错原因:没有 events 上下文 解决方案:修改 nginx.conf 配置文件,增加 events 配置。events { worker_connections 1024; ## Default: 1024}