nginx allows for the creation of 3rd party modules which are directly integrated in the nginx server or created as dynamic modules (.so) and loaded at run time when necessary.
Questions tagged [nginx-module]
32 questions
0
votes
1 answer
How do I load a file using a URL from within a nginx module?
I'm writing a nginx module which is expected to load load a remote file before sending a reply to the client.
The user passes an ID in the URL. I use that ID to load a URL to the remote file. My test looks something like this:
wget…

Alexis Wilke
- 19,179
- 10
- 84
- 156
0
votes
1 answer
Post event to nginx event loop from another thread
I have 3rd party library, which is nonblocking and has its own event loop, it accepts pointer of callback function and executes it in same thread. What I want is to post event from this thread to nginx main thread, something like ngx_add_timer but…

frx
- 492
- 5
- 15