Changeset

12276:7c5e6ad3d778

prosody.cfg.lua.dist: Warn about adding settings at the end of the file It is very often a confusing mistake that leads to support questions
author Kim Alvefur <zash@zash.se>
date Sat, 17 Jul 2021 19:40:43 +0200
parents 12275:13624194984b
children 12277:e921295e934c
files prosody.cfg.lua.dist
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/prosody.cfg.lua.dist	Sat Feb 05 01:33:46 2022 +0100
+++ b/prosody.cfg.lua.dist	Sat Jul 17 19:40:43 2021 +0200
@@ -218,3 +218,12 @@
 --
 --Component "gateway.example.com"
 --	component_secret = "password"
+
+
+---------- End of the Prosody Configuration file ----------
+-- You usually **DO NOT** want to add settings here at the end, as they would
+-- only apply to the last defined VirtualHost or Component.
+--
+-- Settings for the global section should go higher up, before the first
+-- VirtualHost or Component line, while settings intended for specific hosts
+-- should go under the corresponding VirtualHost or Component line.