view mod_component_client/README.markdown @ 3471:b4bcb84997e7

mod_auth_token: Update README. Add luarocks dependencies and explain how to generate the token.
author JC Brand <jc@opkode.com>
date Tue, 26 Feb 2019 15:58:58 +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";
}
```