diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-09-06 12:18:13 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-09-06 12:18:13 +0000 |
| commit | 7a547bdcd571687f3ee5a9a0b60b5d99b871de4a (patch) | |
| tree | 66c24cc526176ff4ffbd83a538619ff03bbba857 /README.dynamic | |
| parent | 66be5e6ca9d9e35e9978bd0ed1ab7f967de6c30f (diff) | |
automatic import of nginxopeneuler22.03_LTS
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; + |
