ignatenkobrain / rpms / nginx

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