summaryrefslogtreecommitdiff
path: root/ejabberd/config.d/xmpp-s2s.yml
blob: db2942f588f5ff88e600ebda6256a2a0185311b1 (plain)
  1. # XMPP server-to-server service (optionally 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-server._tcp IN SRV 0 0 5222 xmpp
  9. listen:
  10. -
  11. port: 5269
  12. ip: "::"
  13. module: ejabberd_s2s_in
  14. s2s_use_starttls: optional
  15. s2s_certfile: 'CERT_PATH'
  16. s2s_dhfile: 'DH_PATH'
  17. s2s_ciphers: 'TLS_CIPHERS'
  18. s2s_protocol_options: 'TLS_OPTIONS'