ignatenkobrain / rpms / nginx

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