ignatenkobrain / rpms / nginx

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