aboutsummaryrefslogtreecommitdiffstats
path: root/conf/override.d/module.conf.example
diff options
context:
space:
mode:
Diffstat (limited to 'conf/override.d/module.conf.example')
-rw-r--r--conf/override.d/module.conf.example18
1 files changed, 18 insertions, 0 deletions
diff --git a/conf/override.d/module.conf.example b/conf/override.d/module.conf.example
new file mode 100644
index 000000000..2028a94b9
--- /dev/null
+++ b/conf/override.d/module.conf.example
@@ -0,0 +1,18 @@
+# Define local parameters that you need to override the main configuration from
+# either modules.d (for the modules shipped with Rspamd) or modules.local.d (for
+# the modules that you have written).
+#
+# !!! Ensure NOT to enclose your configuration in the outer block with the module
+
+# DON'T DO THIS:
+# module_name { <--- Don't do this
+# complex_param = null;
+# }
+
+# Just define your parameters here:
+
+# Redefine the whole complex param instead of merging like in `local.d`
+# All other keys in `complex_param` will be removed
+complex_param {
+ key = "new_value";
+} \ No newline at end of file