ignatenkobrain / rpms / nginx

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