author | Kim Alvefur <zash@zash.se> |
Thu, 29 Feb 2024 18:00:01 +0100 | |
changeset 5852 | 593312fedfe1 |
parent 2327 | 35ae59a8196d |
permissions | -rw-r--r-- |
2327 | 1 |
Introduction |
2 |
============ |
|
3 |
||
4 |
This module turns Prosody hosts into components of other XMPP servers. |
|
5 |
||
6 |
Configuration |
|
7 |
============= |
|
8 |
||
9 |
Example configuration: |
|
10 |
||
11 |
``` {.lua} |
|
12 |
VirtualHost "component.example.com" |
|
13 |
modules_enabled = { "component_client" } |
|
14 |
component_client = { |
|
15 |
host = "localhost"; |
|
16 |
port = 5347; |
|
17 |
secret = "hunter2"; |
|
18 |
} |
|
19 |
``` |