summaryrefslogtreecommitdiff
path: root/README.dynamic
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-10-31 07:11:45 +0000
committerCoprDistGit <infra@openeuler.org>2024-10-31 07:11:45 +0000
commit6c94cd3bcc5f9cae45fa80e3048d7cb395f05796 (patch)
treed912ce6e29bf07d987257bba72caf31c5473c4b6 /README.dynamic
parent85df9bedbac03a69d4687d8a3d75fe5e6ba2dce7 (diff)
automatic import of nginxopeneuler24.03_LTS
Diffstat (limited to 'README.dynamic')
-rw-r--r--README.dynamic20
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;
+