aboutsummaryrefslogtreecommitdiff
path: root/ejabberd.yml.example
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2020-04-20 00:37:41 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2020-04-20 00:37:41 +0200
commitb1b3c4cdcfc8c8cd3448413bb4af01459180fc5b (patch)
tree271bfcefd30d1a489e46f723604e3000abaaaf45 /ejabberd.yml.example
parentTravis CI: Test against Erlang/OTP 22.3 (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