Software /
code /
prosody-modules
Annotate
mod_component_client/README.markdown @ 5636:7e5701fbae88
mod_invites_api: add `module:depends("http");` to use `module:http_url()` in `prosodyctl`.
author | Trần H. Trung <xmpp:trần.h.trung@trung.fun> |
---|---|
date | Mon, 31 Jul 2023 11:52:00 +0700 |
parent | 2323:35ae59a8196d |
rev | line source |
---|---|
2323 | 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 ``` |