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