ignatenkobrain / rpms / nginx

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