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:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2018-01-12 10:27:33 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2018-01-12 10:27:33 +0300
commit1c1b12fc646d45da226cdc40448953ce2059aca8 (patch)
treecb13ec9a417c61e837692c4b0d8b7bdee3a6ec52 /ejabberd.yml.example
parent1825cfaf0566be358ba2359b83f6e9741761d1f9 (diff)
Note about direct-tls connections in example config
Diffstat (limited to 'ejabberd.yml.example')
-rw-r--r--ejabberd.yml.example15
1 files changed, 15 insertions, 0 deletions
diff --git a/ejabberd.yml.example b/ejabberd.yml.example
index 4ff2835dc..a2ef80e16 100644
--- a/ejabberd.yml.example
+++ b/ejabberd.yml.example
@@ -186,6 +186,21 @@ listen:
## register: true
captcha: true
##
+ ## Direct-TLS for C2S (XEP-0368). A good practice is to forward
+ ## traffic from port 443 to this port, possibly multiplexing it
+ ## with HTTP using e.g. sslh [https://wiki.xmpp.org/web/Tech_pages/XEP-0368],
+ ## so modern clients can bypass restrictive firewalls (in airports, hotels, etc.).
+ ##
+ ## -
+ ## port: 5223
+ ## ip: "::"
+ ## module: ejabberd_c2s
+ ## tls: true
+ ## max_stanza_size: 65536
+ ## shaper: c2s_shaper
+ ## access: c2s
+
+ ##
## ejabberd_service: Interact with external components (transports, ...)
##
## -