# HG changeset patch # User Kim Alvefur # Date 1626543643 -7200 # Node ID 7c5e6ad3d77874be84dcc429b005580dd6866947 # Parent 13624194984b62315f5653c353b1fdc9d60f02a4 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 diff -r 13624194984b -r 7c5e6ad3d778 prosody.cfg.lua.dist --- 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.