view mod_component_client/README.markdown @ 4947:cc14bfec209b

mod_reload_modules: Be aware of component module (thanks Menel) Without this, the component module is seen as a module that is loaded but not configured, and is thus unloaded
author Kim Alvefur <zash@zash.se>
date Sat, 21 May 2022 14:48:18 +0200
parents 35ae59a8196d
children
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";
}
```