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