aboutsummaryrefslogtreecommitdiffstats
path: root/prosody.cfg.lua.dist
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-07-17 19:40:43 +0200
committerKim Alvefur <zash@zash.se>2021-07-17 19:40:43 +0200
commit2cf3f8b5cbacb0151fd2c82ed7f73c41f1b9bbe6 (patch)
tree8f24dce798ffa34f28e39486109c45871d4d36b0 /prosody.cfg.lua.dist
parent8648dd2191216375947d7dbb62ed8432c59a1e14 (diff)
downloadprosody-2cf3f8b5cbacb0151fd2c82ed7f73c41f1b9bbe6.tar.gz
prosody-2cf3f8b5cbacb0151fd2c82ed7f73c41f1b9bbe6.zip
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
Diffstat (limited to 'prosody.cfg.lua.dist')
-rw-r--r--prosody.cfg.lua.dist9
1 files changed, 9 insertions, 0 deletions
diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist
index dfd26781..b9e88986 100644
--- a/prosody.cfg.lua.dist
+++ b/prosody.cfg.lua.dist
@@ -218,3 +218,12 @@ VirtualHost "localhost"
--
--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.