a6d5b6
###############
a6d5b6
Dynamic modules
a6d5b6
###############
a6d5b6
a6d5b6
Dynamic modules are loaded using the "load_modules" directive. The RPM package
a6d5b6
for each module has a '.conf' file in the /usr/share/nginx/modules directory.
a6d5b6
The '.conf' file contains a single "load_modules" directive.
a6d5b6
a6d5b6
This means that whenever a new dynamic module is installed, it will
a6d5b6
automatically be enabled and Nginx will be reloaded.
a6d5b6
a6d5b6
--------------------------------------------------------
a6d5b6
Prevent dynamic modules from being enabled automatically
a6d5b6
--------------------------------------------------------
a6d5b6
a6d5b6
You may want to avoid dynamic modules being enabled automatically. Simply
a6d5b6
remove this line from the top of /etc/nginx/nginx.conf:
a6d5b6
a6d5b6
    include /usr/share/nginx/modules/*.conf;
a6d5b6