Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2020-04-20 01:37:41 +0300
committerHolger Weiss <holger@zedat.fu-berlin.de>2020-04-20 01:37:41 +0300
commitb1b3c4cdcfc8c8cd3448413bb4af01459180fc5b (patch)
tree271bfcefd30d1a489e46f723604e3000abaaaf45 /ejabberd.yml.example
parentb0f95975c28967d482a0c8a2078b80ed4719473b (diff)
Enable STUN/TURN by default
Build ejabberd with STUN/TURN support by default, and add a STUN/TURN listener to the example configuration file.
Diffstat (limited to 'ejabberd.yml.example')
-rw-r--r--ejabberd.yml.example7
1 files changed, 7 insertions, 0 deletions
diff --git a/ejabberd.yml.example b/ejabberd.yml.example
index 57f7fef12..eeba1f9c5 100644
--- a/ejabberd.yml.example
+++ b/ejabberd.yml.example
@@ -58,6 +58,13 @@ listen:
/admin: ejabberd_web_admin
/.well-known/acme-challenge: ejabberd_acme
-
+ port: 3478
+ transport: udp
+ module: ejabberd_stun
+ use_turn: true
+ ## The server's public IPv4 address:
+ # turn_ip: 203.0.113.3
+ -
port: 1883
ip: "::"
module: mod_mqtt