summaryrefslogtreecommitdiff
path: root/ejabberd/config.d/xmpp-c2s.yml
blob: 29d016341f05910b70bae4ab5de3e2d8e933947b (plain)
  1. # XMPP client service (secure)
  2. #
  3. # * Custom Diffie-Hellman params needs to be created ahead, e.g. with
  4. # /etc/local-COMMON/ejabberd/mkdhparams.sh
  5. #
  6. # Sample DNS entries:
  7. # xmpp IN A 192.0.2.1
  8. # _xmpp-client._tcp IN SRV 0 0 5222 xmpp
  9. # _xmppconnect IN TXT "_xmpp-client-xbosh=https://chat.example.org/http-bind"
  10. # _xmppconnect IN TXT "_xmpp-client-websocket=wss://chat.example.org/xmpp-websocket"
  11. listen:
  12. -
  13. port: 5222
  14. ip: "::"
  15. module: ejabberd_c2s
  16. certfile: 'CERT_PATH'
  17. starttls_required: true
  18. protocol_options: 'TLS_OPTIONS'
  19. max_stanza_size: 65536
  20. shaper: c2s_shaper
  21. access: c2s
  22. zlib: true
  23. tls_compression: false
  24. dhfile: 'DH_PATH'
  25. ciphers: 'TLS_CIPHERS'
  26. resend_on_timeout: if_offline
  27. modules:
  28. mod_admin_extra: []
  29. mod_adhoc: []
  30. mod_announce:
  31. access: announce
  32. mod_caps: []
  33. mod_disco: []
  34. mod_http_bind: []
  35. mod_last: []
  36. mod_offline:
  37. access_max_user_messages: max_user_offline_messages
  38. mod_ping: []
  39. mod_privacy: []
  40. mod_private: []
  41. mod_pubsub:
  42. access_createnode: pubsub_createnode
  43. ignore_pep_from_offline: false
  44. last_item_cache: true
  45. plugins:
  46. - "flat"
  47. - "hometree"
  48. - "pep"
  49. mod_roster:
  50. versioning: true
  51. mod_shared_roster: []
  52. mod_stats: []
  53. mod_time: []
  54. mod_vcard: []
  55. mod_version: []
  56. mod_mam: []
  57. mod_blocking: []
  58. mod_client_state: []
  59. mod_carboncopy: []