view mod_component_client/README.markdown @ 3369:fca95f1b8870

mod_http_upload: Fix order of arguments to :measure The docs are wrong tho.
author Kim Alvefur <zash@zash.se>
date Tue, 06 Nov 2018 14:44:11 +0100
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";
}
```