File

mod_component_client/README.markdown @ 5628:a74b07764d3f

mod_invites_api: use the nice `module:http_url()` to get the correct url.
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Thu, 27 Jul 2023 18:33:12 +0700
parent 2323:35ae59a8196d
line wrap: on
line source

Introduction
============

This module turns Prosody hosts into components of other XMPP servers.

Configuration
=============

Example configuration:

``` {.lua}
VirtualHost "component.example.com"
modules_enabled = { "component_client" }
component_client = {
    host = "localhost";
    port = 5347;
    secret = "hunter2";
}
```