Table of Contents
* Prerequisites
* High-Level Overview of Nginx's Module Delegation
* Components of an Nginx Module
1. Module Configuration Struct(s)
2. Module Directives
3. The Module Context
o create_loc_conf
o merge_loc_conf
4. The Module Definition
5. Module Installation
o Handler installation
o Filter installation
* Anatomy of a Handler (Non-proxying)
1. Getting the location configuration
2. Generating a response
3. Sending the header
4. Sending the body
* Anatomy of an Upstream (a.k.a Proxy) Handler
1. Summary of upstream callbacks
2. The create_request callback
3. The process_header callback
4. Keeping state
* Anatomy of a Header Filter
* Anatomy of a Body Filter
* Anatomy of a Load-Balancer *NEW*
1. The enabling directive
2. The registration function
3. The upstream initialization function
4. The peer initialization function
5. The load-balancing function
6. The peer release function
* Writing and Compiling a New Nginx Module
* Code References