view mod_component_client/README.markdown @ 4602:78f1515575ab

mod_measure_lua: Use gauge instead of counter for Lua version (thanks jonas’) Fixes inclusion of a '_total' suffix on the value, and more semantically correct according to jonas’.
author Kim Alvefur <zash@zash.se>
date Mon, 28 Jun 2021 12:20:28 +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";
}
```