forked from rpms/nginx
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
739 B
21 lines
739 B
2 years ago
|
###############
|
||
|
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:
|
||
|
|
||
|
include /usr/share/nginx/modules/*.conf;
|
||
|
|