阅读启动过程 主要是src/core/nginx.c中的main函数。 具体有:参数解析、事件更新、内存初始化、信号处理、LOG文件初始化、CUPOS相关设定、进程启动。
ngx_array_t 结构体
An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html
C