ignatenkobrain / rpms / nginx

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