How to run up nginx

nginx main function is located core/nginx.c.

Is performed configureafter a file is generated objs/ngx_modules.c, which is an inlet structure to load the module, the core code is directly used ngx_modules.cto compile, link and then all .olinked together to form an executable file to a file. For example, ngx_event_core_modulethe module is located event/ngx_event.c.

Guess you like

Origin www.cnblogs.com/xcw0754/p/12203371.html