mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
config: move section about direct-tls for c2s just under regular c2s config (to ease parameters comparison)
This commit is contained in:
parent
ae151927ae
commit
2bb6782bee
@ -169,6 +169,20 @@ listen:
|
|||||||
max_stanza_size: 65536
|
max_stanza_size: 65536
|
||||||
shaper: c2s_shaper
|
shaper: c2s_shaper
|
||||||
access: c2s
|
access: c2s
|
||||||
|
##
|
||||||
|
## 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
|
||||||
-
|
-
|
||||||
port: 5269
|
port: 5269
|
||||||
ip: "::"
|
ip: "::"
|
||||||
@ -185,20 +199,6 @@ listen:
|
|||||||
web_admin: true
|
web_admin: true
|
||||||
## register: true
|
## register: true
|
||||||
captcha: 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, ...)
|
## ejabberd_service: Interact with external components (transports, ...)
|
||||||
|
Loading…
Reference in New Issue
Block a user