Diff

mod_component_client/README.md @ 6209:d611ed13df7e draft

Merge
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Tue, 18 Mar 2025 00:16:25 +0700
parent 2323:35ae59a8196d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mod_component_client/README.md	Tue Mar 18 00:16:25 2025 +0700
@@ -0,0 +1,19 @@
+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";
+}
+```