src.nth.io/

summaryrefslogtreecommitdiff
path: root/prosody/templates
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-05-14 08:25:10 -0500
committerLuke Hoersten <[email protected]>2020-05-14 08:25:10 -0500
commit85b09b3cbdaabbc8ee7e88247c78fb77ab81667b (patch)
treeadf19c76eb48a8e4f7f4361527f1027c2ca942aa /prosody/templates
parent2eaa8b2abf99911340b2a426044d016a1fd6a514 (diff)
Added prosody role.
Diffstat (limited to 'prosody/templates')
-rw-r--r--prosody/templates/prosody.cfg.lua.j220
1 files changed, 20 insertions, 0 deletions
diff --git a/prosody/templates/prosody.cfg.lua.j2 b/prosody/templates/prosody.cfg.lua.j2
new file mode 100644
index 0000000..15a1b38
--- /dev/null
+++ b/prosody/templates/prosody.cfg.lua.j2
@@ -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"