view mod_component_client/README.markdown @ 2959:731fbefaabaf

mod_net_proxy: Fixed example configuration for HAProxy
author Pascal Mathis <mail@pascalmathis.com>
date Tue, 27 Mar 2018 22:31:59 +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";
}
```