prosody/templates/prosody.cfg.lua.j2
changeset 23 b4ad03deace1
child 45 2d7ba960b157
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/prosody/templates/prosody.cfg.lua.j2	Thu May 14 08:25:10 2020 -0500
@@ -0,0 +1,20 @@
+VirtualHost "{{prosody_vhost}}"
+        ssl = {
+                key = "{{prosody_ssl_privkey}}";
+                certificate = "{{prosody_ssl_cert}}";
+                }
+
+------ Components ------
+-- You can specify components to add hosts that provide special services,
+-- like multi-user conferences, and transports.
+-- For more information on components, see http://prosody.im/doc/components
+
+-- Set up a MUC (multi-user chat) room server on conference.example.com:
+--Component "conference.example.com" "muc"
+
+-- Set up a SOCKS5 bytestream proxy for server-proxied file transfers:
+--Component "proxy.example.com" "proxy65"
+
+---Set up an external component (default component port is 5347)
+--Component "gateway.example.com"
+--	component_secret = "password"