[Pkg-xmpp-devel] Bug#1110205: prosody: Allow loading non-virtual host configuration from external files
Elena “of Valhalla”
valhalla at debian.org
Thu Jul 31 21:59:49 BST 2025
Package: prosody
Severity: wishlist
X-Debbugs-Cc: valhalla at 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
More information about the Pkg-xmpp-devel
mailing list