Learn how to write a custom Nginx module by following structured chapters that build from beginner to expert.
Understand how Nginx processes HTTP requests through its multi-stage pipeline, including subrequests.
Study how Nginx's event loop handles thousands of connections without blocking for high-performance server design.
Content is entirely in Chinese, the full book is read online at the Tengine project website linked in the README.
This repository is a Chinese-language book about Nginx, the popular web server software. The title translates roughly to "Nginx Development: From Beginner to Expert." It was written by members of the core server platform team at Taobao, the large Chinese e-commerce company, who used Nginx heavily in their own infrastructure. The book starts with module development for Nginx and gradually moves into explaining how Nginx works internally. That progression, from building on top of Nginx to understanding its internals, is the stated structure of the content. The README is written in Chinese and the book itself is in Chinese. The content covers areas like the basic Nginx architecture and core data structures, configuration parsing, the event module, request reading and handling, subrequests, and multi-stage request processing pipelines. The update history in the README shows the book was actively developed from early 2012 through late 2013, with chapters added and revised over that period. The book is free to read, download, save, and share as long as you link back to the original publication site. You cannot sell it, print it commercially, or publish it as a standalone work. The source code samples included in the book can be used freely in your own programs, though the authors take no responsibility for issues that arise from using that code. If you are looking to understand how Nginx modules are built or how Nginx processes requests under the hood, this book is a structured guide to those topics. It is aimed at developers and system administrators who want to go beyond simply configuring Nginx and actually understand or extend how it works. The full text can be browsed at the Tengine project website linked in the README.
← taobao on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.