Annotate
mod_component_client/README.markdown @ 5931:d194d1012fd3
Updating dox for mod_rest. Ideas expressed / clarified:
1) Making clear that mod_rest isn't to be installed under VirtualHosts AND as a component.
2) Understanding some of the implications of this choice:
A) Changes to user authentication
B) How it affects subdomains
3) More consistent use of domain names for clarity.
4) Using different heading sizes to show scope of section.
Essentially, I added all the tidbits I had to clarify in getting this to work in my
own example.
author |
Ben Smith <bens@effortlessis.com> |
date |
Mon, 13 May 2024 13:25:13 -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 ```
|