summaryrefslogtreecommitdiff
path: root/README.dynamic
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-08-19 15:17:49 +0000
committerCoprDistGit <infra@openeuler.org>2023-08-19 15:17:49 +0000
commit998c19f0244c3eacbc632e58fbdeabee90527b7c (patch)
tree060a266a3068a7f15c4a9f0434ce23e743bf191b /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..59f03f6
--- /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/lib64/nginx/modules/*.conf;
+