27 lines
1,015 B
Lua
27 lines
1,015 B
Lua
VirtualHost "jabber.n39.eu"
|
|
-- certificate = "/path/to/example.crt"
|
|
|
|
------ Components ------
|
|
-- You can specify components to add hosts that provide special services,
|
|
-- like multi-user conferences, and transports.
|
|
-- For more information on components, see https://prosody.im/doc/components
|
|
|
|
---Set up a MUC (multi-user chat) room server on conference.example.com:
|
|
--Component "conference.example.com" "muc"
|
|
--- Store MUC messages in an archive and allow users to access it
|
|
--modules_enabled = { "muc_mam" }
|
|
Component "conference.jabber.n39.eu" "muc"
|
|
|
|
-- alex: service discovery
|
|
disco_items = {
|
|
{ "conference.jabber.n39.eu", "The Netz39 Multi-User-Chat" };
|
|
}
|
|
|
|
---Set up an external component (default component port is 5347)
|
|
--
|
|
-- External components allow adding various services, such as gateways/
|
|
-- transports to other networks like ICQ, MSN and Yahoo. For more info
|
|
-- see: https://prosody.im/doc/components#adding_an_external_component
|
|
--
|
|
--Component "gateway.example.com"
|
|
-- component_secret = "password"
|