diff options
author | CoprDistGit <infra@openeuler.org> | 2024-06-24 09:28:20 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-06-24 09:28:20 +0000 |
commit | 280bbc9f05f9b04b84eb09eb8203a6be3c447728 (patch) | |
tree | 2edc910c2787f804c5d3bb1f23149c7d128264c4 /README.dynamic | |
parent | 66814c3ea8b692a1c21f643660867e8deb6393cb (diff) |
automatic import of nginxopeneuler24.03_LTSopeneuler22.03_LTS_SP3openeuler20.03_LTS_SP4openeuler20.03
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; + |