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