2019-11-05 19:39:27 +00:00
|
|
|
###############
|
|
|
|
Dynamic modules
|
|
|
|
###############
|
|
|
|
|
|
|
|
Dynamic modules are loaded using the "load_modules" directive. The RPM package
|
|
|
|
for each module has a '.conf' file in the /usr/share/nginx/modules directory.
|
|
|
|
The '.conf' file contains a single "load_modules" directive.
|
|
|
|
|
|
|
|
This means that whenever a new dynamic module is installed, it will
|
|
|
|
automatically be enabled and Nginx will be reloaded.
|
|
|
|
|
|
|
|
--------------------------------------------------------
|
|
|
|
Prevent dynamic modules from being enabled automatically
|
|
|
|
--------------------------------------------------------
|
|
|
|
|
|
|
|
You may want to avoid dynamic modules being enabled automatically. Simply
|
|
|
|
remove this line from the top of /etc/nginx/nginx.conf:
|
|
|
|
|
2024-06-07 11:38:18 +00:00
|
|
|
include /usr/share/nginx/modules/*.conf;
|
2019-11-05 19:39:27 +00:00
|
|
|
|