Mercurial > prosody-modules
comparison mod_component_client/README.markdown @ 2323:35ae59a8196d
Add some documentation stubs
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 01 Oct 2016 20:34:43 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2322:73fbfd1e820b | 2323:35ae59a8196d |
---|---|
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 ``` |