Forum: NGINX Module development document for dummies

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
698ad68791be31755e0bb97efc70d243?d=identicon&s=25 Eren Türkay (Guest)
on 2009-01-25 19:22
(Received via mailing list)
Hello,

I know there is Emiller's Guide [0] about nginx module development but
it
seems really complicated for newbies, at least for me :) It seems that
it's
for half-experts.

First of all, I really wonder the code structure of nginx and core
modules.
How does nginx interpret configuration file and when/how it initliase
modules
when request come? (module's initialisation is covered with Emiller's
Guide
but it's just shallow)

It would be better if someone provided a sample configuration file and
explain
*step-by-step* which part of code is run when a request is made. It
would
include, for example, gzip module and location/rewrite directive and
explain
"when request come, nginx checks the location (the code in foo.c), then
processes it (bar.c <code sample>), gzip module is initialised and the
output
of request is gzipped, then sent to the client."

I hope, I've expressed myself clearly. :)

Nice hacking!
Eren

[0] http://emiller.info/nginx-modules-guide.html
This topic is locked and can not be replied to.