ignatenkobrain / rpms / nginx

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