summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek <mf@marekfoss.org>2021-02-02 15:25:19 +0100
committerGitHub <noreply@github.com>2021-02-02 15:25:19 +0100
commit5eab8450e74717cd6b53363548077c39728633f3 (patch)
treed468d009bc169638739cae36a9e1ef31efabd252
parentFix specified key was too long (#3513) (diff)
New listener for encrypted ejabberd_c2s
Add a new listener on port 5223 for the TLS-enabled ejabberd_c2s, which combined with proper SRV records allows passing the XEP-0368 compliance test.
-rw-r--r--ejabberd.yml.example9
1 files changed, 9 insertions, 0 deletions
diff --git a/ejabberd.yml.example b/ejabberd.yml.example
index c6f36dbd..8eb038dd 100644
--- a/ejabberd.yml.example
+++ b/ejabberd.yml.example
@@ -34,6 +34,15 @@ listen:
access: c2s
starttls_required: true
-
+ port: 5223
+ ip: "::"
+ tls: true
+ module: ejabberd_c2s
+ max_stanza_size: 262144
+ shaper: c2s_shaper
+ access: c2s
+ starttls_required: true
+ -
port: 5269
ip: "::"
module: ejabberd_s2s_in