• Bug#1110205: prosody: Allow loading non-virtual host configuration from

    From =?utf-8?b?RWxlbmEg4oCcb2YgVmFsaGFsb@21:1/5 to All on Thu Jul 31 23:10:01 2025
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)