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