diff options
author | CoprDistGit <infra@openeuler.org> | 2024-10-31 06:17:43 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-10-31 06:17:43 +0000 |
commit | 52fca73c39f946126c28a26d1e9a65ff8ad77c60 (patch) | |
tree | 9423cda98fc554382d1058e11a8703b99543ea5e /README.dynamic | |
parent | ae5fab25e91049a7ce2f9bc0c842977150f4fdcd (diff) |
automatic import of nginx
Diffstat (limited to 'README.dynamic')
-rw-r--r-- | README.dynamic | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/README.dynamic b/README.dynamic new file mode 100644 index 0000000..5758858 --- /dev/null +++ b/README.dynamic @@ -0,0 +1,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/share/nginx/modules/*.conf; + |