3 ms·
compiling your own nginx is not trivial and I would not recommend it for everyone Yes, this is frustrating as an nginx module developer as well. Apache has
by cbr 11y ago
compiling your own nginx is not trivial and I would
not recommend it for everyone
Yes, this is frustrating as an nginx module developer as well. Apache has a loadable module system and we can ship binaries, but to add a module to nginx you have to recompile.
Nginx's developers have been hinting that they're going to add support for loading .so modules, and I really hope they do!
- tuananh 11y agotengine (a fork of nginx) fixes this problem.
- nikolay 11y agoBut is, unfortunately, a few generations behind.
- btown 11y agoAlso, runtime behavior depends on the order of --add-module compilation flags! Got bitten by this when sub_filters weren't working... and then I realized that the order in which [un]gzip and sub_filters are applied isn't driven by the order of the directives in the config file, but by the compilation string - the substitution filtering was being done on gzipped gibberish! This was probably a Good Idea (tm) for performance reasons - filtration is just a compile-time linked list of function calls. But it's barely documented at all!
- theli0nheart 11y agoLooks like your wish has finally been granted. Nginx released dynamic module support in nginx-1.9.11 today! http://mailman.nginx.org/pipermail/nginx-announce/2016/000170.html http://mailman.nginx.org/pipermail/nginx-announce/2016/00017...