view mod_component_client/README.markdown @ 3550:8079e9c6d419

mod_admin_web: Ignore shadowed 'ok' variable, nothing to worry about [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 05 Apr 2019 19:02:17 +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";
}
```