summaryrefslogtreecommitdiff
path: root/README.dynamic
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-07-05 13:43:04 +0000
committerCoprDistGit <infra@openeuler.org>2024-07-05 13:43:04 +0000
commitb9b5f8d9bd86e3e93da1b53e28f7188afe417774 (patch)
tree2edc910c2787f804c5d3bb1f23149c7d128264c4 /README.dynamic
parent7fed8a26b331c9d92c55722a5c49af7fc72f8577 (diff)
automatic import of nginx
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;
+