Skip to content

NGINX Wiki

Community documentation for NGINX configuration, architecture, and module development.

It focuses on how NGINX really works under the hood: the event loop and process model, the C APIs behind HTTP and upstreams, and how configuration maps onto those internals.

What you'll find here

Architecture

End-to-end overview of the master/worker process model, event loop, timers, and HTTP request lifecycle.

Read the architecture guide

Core C APIs

Reference documentation for core types like ngx_http_request_t, ngx_module_t, memory pools, buffers, logging, and configuration helpers.

Browse core APIs

Module development

Guidance for building and debugging modules: compilation options, configuration structures, and worked examples of filters and handlers.

Go to module development

Ecosystem & community

Curated links to important 3rd-party modules, talks, and learning resources.

See ecosystem & community