ignatenkobrain / rpms / nginx

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