ignatenkobrain / rpms / nginx

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