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
This commit is contained in:
Kim Alvefur 2021-07-17 19:40:43 +02:00
parent 8648dd2191
commit 2cf3f8b5cb

View file

@ -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.