Nginx 1.12 package seems have some issues regarding modules.

Im looking into using the nginx 1.12 package built here but there seems to be some issues.

I might be wrong but in nginx 1.12 the module needs to be compiled with the same config-options as the nginx-binary (or at least include the same --add-dynamic-module) or else you'll get "..is not binary compatible"

Nginx 1.12 currently builds nginx-core without any modules configured and later depends on them in the control-file and that makes include /etc/nginx/modules-enable/*.conf ; fail (this is probably true for some of the other versions too).

Wouldn't it be better to build all the dynamic modules with all the nginx-versions and include the ones "needed"?

Related bugs

Related FAQ:

I'm not sure I understand the core issue here. The dynamic modules brought in here by the packages for core and the other flavors *do* build the dynamic modules whenever the package is created and build for that nginx version. All the dynamic modules in the package are rebuilt with every package upload to the repositories.

If I also remember right we have some core modules that actually *do* get statically built into the executable as not every module in the upstream code is dynamic compatible yet.

What's unclear is where you are encountering problems. Can you provide examples of where you're seeing an actual problem here? (Note that every time you upgrade a version any additional modules *not* built by the package itself needs to be recompiled - this is a downside to how nginx has designed their dynamic modules system currently)