ignatenkobrain / rpms / nginx

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