Already loaded NGINX modules

Piotr Sikora piotrsikora at
Thu Feb 11 22:33:43 UTC 2016

Hey Yichun,

> Currently when an NGINX module is statically linked against the NGINX
> binary, the load_module directive bails out the server startup with
> the error message "module already loaded" (or something like that).
> Hopefully we can make this a nonfatal error (or provide an option to
> make it nonfatal) because we can have more portable nginx.conf for
> distributing NGINX-based applications.

I disagree, because this would lead to unexpected behavior (since
statically linked module can be slightly different from the dynamic

Which version should be used at runtime in your non-fatal scenario and why?

Best regards,
Piotr Sikora

More information about the nginx-devel mailing list