Package: prosody
Severity: wishlist
X-Debbugs-Cc: [email protected]

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

Reply via email to