Need help with writing module

Reinis Rozitis r at
Wed Jun 20 18:45:05 UTC 2012

> I am new to nginx. This going to be my first module. What would be best
> way to write it? When there is specific http requeset, module should
> open file and read the tex from it, and write some text to the file. It
> should write it after specific text that is why it needs to read text
> from file. I could not find any info on how to use files in modules.

Unless there are some specific reasons it seems it would be more simple for 
you to add such feature via the embedded perl ( ) or lua module ( ).


More information about the nginx mailing list