summaryrefslogtreecommitdiff
path: root/files/prosody.cfg.lua.j2
diff options
context:
space:
mode:
Diffstat (limited to 'files/prosody.cfg.lua.j2')
-rw-r--r--files/prosody.cfg.lua.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/files/prosody.cfg.lua.j2 b/files/prosody.cfg.lua.j2
index d56381c..0bcf6ba 100644
--- a/files/prosody.cfg.lua.j2
+++ b/files/prosody.cfg.lua.j2
@@ -33,6 +33,7 @@ modules_enabled = {
"stanza_debug";
"time";
"tls";
+ "turn_external";
"uptime";
"vcard4";
"vcard_legacy";
@@ -61,6 +62,9 @@ c2s_direct_tls_ports = { 5223 }
s2s_direct_tls_ports = { 5270 }
use_dane = true
+turn_external_host = "{{ turn_server }}"
+turn_external_secret = "{{ turn_secret }}"
+
-- From Monal considerations for XMPP server admins
smacks_hibernation_time = 86400