My new book Nginx Module Extension is now out on all major online retailers. You will find this as a one stop guide to getting familiar with nginx module system and how to install and configure HTTP and 3rd party modules. The unique thing about this book is a chapter on how to write your own nginx module. Open source is all about creating for yourself and others what doesn’t already exist. Hope nginx users and developers will find it useful.
If you want to write a custom Nginx module, Emiller’s guide is a very good starting point. This article is a wee bit long and you might want to get your hands dirty just to see a full program. In this case you can find this hello world module useful.
I found both of them useful, but the hello world program was simplistic enough for me to miss some concepts, so i wrote this improved hello word module. Continue reading “Writing a custom Nginx module – Sample Hello World Module”