ignatenkobrain / rpms / nginx

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