Acknowledgement sent
to Elena “of Valhalla” <valhalla@debian.org>:
New Bug report received and forwarded. Copy sent to valhalla@debian.org, Debian XMPP Maintainers <pkg-xmpp-devel@lists.alioth.debian.org>.
(Thu, 31 Jul 2025 21:01:01 GMT) (full text, mbox, link).
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: prosody: Allow loading non-virtual host configuration from external files
Date: Thu, 31 Jul 2025 22:59:49 +0200
Package: prosody
Severity: wishlist
X-Debbugs-Cc: valhalla@debian.org
In prosody.cfg.lua there is a line Include "conf.d/*.cfg.lua" which
allows writing some configuration in an external file instead of
chanching prosody.cfg.lua itself; however it is after the definition of
the default VirtualHost, and thus any configuration loaded from there
must either define a new VirtualHost, or will only apply to that
virtualhost.
It would be nice to have two Includes, one for the configuration, placed
before the ----------- Virtual hosts ----------- line, and another, from
a different directory, placed near the end where one can define
additional VirtualHost definitions and configurations, in a similar way
to apache's conf-* / sites-*.
I've checked https://hg.prosody.im/trunk/file/tip/prosody.cfg.lua.dist
and I believe that the Include has been added by Debian, rather than
coming from upstream (if I should have checked a different file let me
know, and I can submit the issue upstream).
Thanks in advance
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.