summaryrefslogtreecommitdiff
path: root/README.dynamic
blob: 59f03f62643d44b1a87183c89791096705fbb7b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
###############
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/lib64/nginx/modules/*.conf;