NGINX Dynamic Modules

Andrew Hutchings ahutchings at nginx.com
Tue Feb 9 14:41:12 UTC 2016


Hi all,

As you may have seen with recent code drops, we have released the 
initial version of our Dynamic Modules code to the source tree and NGINX 
1.9.11. This initial release will allow you to compile modules with 
NGINX as before, but can create shared object files at the same time as 
the NGINX binary. These shared objects can then be loaded and unloaded 
at runtime.

If you have any modules which you wish to use with this new feature they 
will need a little work to convert them. Specifically the way the 
‘config’ file is written has changed. Although we have maintained 
compatibility with the static compilation of modules so if you do not 
wish to convert a module then you won’t have to change anything. Details 
on the new format and how to convert the modules can be found at:

https://www.nginx.com/resources/wiki/extending/

In addition we are working on fully documenting the module API with 
examples.  This will come at a later date.

If you have any questions or problems converting modules please let us 
know on this mailing list.

Kind Regards
-- 
Andrew Hutchings (LinuxJedi)
Technical Product Manager, NGINX Inc.



More information about the nginx-devel mailing list