ejabberd.yml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. ###
  2. ### ejabberd configuration file
  3. ###
  4. ### The parameters used in this configuration file are explained at
  5. ###
  6. ### https://docs.ejabberd.im/admin/configuration
  7. ###
  8. include_config_file:
  9. - /home/ejabberd/conf/conf.d/10-macros.yml
  10. - /home/ejabberd/conf/conf.d/15-log.yml
  11. - /home/ejabberd/conf/conf.d/16-shaper.yml
  12. - /home/ejabberd/conf/conf.d/20-hosts.yml
  13. - /home/ejabberd/conf/conf.d/30-tls.yml
  14. - /home/ejabberd/conf/conf.d/31-auth.yml
  15. - /home/ejabberd/conf/conf.d/32-access.yml
  16. - /home/ejabberd/conf/conf.d/41-s2s.yml
  17. - /home/ejabberd/conf/conf.d/42-c2s.yml
  18. - /home/ejabberd/conf/conf.d/50-stun-turn.yml
  19. modules:
  20. mod_adhoc: {}
  21. # mod_admin_extra: {}
  22. mod_announce:
  23. access: announce
  24. mod_avatar: {}
  25. mod_blocking: {}
  26. mod_bosh: {}
  27. mod_caps: {}
  28. mod_carboncopy: {}
  29. mod_client_state: {}
  30. mod_configure: {}
  31. mod_disco: {}
  32. mod_fail2ban: {}
  33. mod_http_api: {}
  34. mod_http_upload:
  35. put_url: https://@HOST@:5443/upload
  36. mod_last: {}
  37. mod_mam:
  38. ## Mnesia is limited to 2GB, better to use an SQL backend
  39. ## For small servers SQLite is a good fit and is very easy
  40. ## to configure. Uncomment this when you have SQL configured:
  41. ## db_type: sql
  42. assume_mam_usage: true
  43. default: never
  44. # mod_mqtt: {}
  45. mod_muc:
  46. access:
  47. - allow
  48. access_admin:
  49. - allow: admin
  50. access_create: muc_create
  51. access_persistent: muc_create
  52. access_mam:
  53. - allow
  54. default_room_options:
  55. allow_subscription: true # enable MucSub
  56. mam: false
  57. mod_muc_admin: {}
  58. mod_offline:
  59. access_max_user_messages: max_user_offline_messages
  60. mod_ping: {}
  61. mod_privacy: {}
  62. mod_private: {}
  63. mod_proxy65:
  64. access: local
  65. max_connections: 5
  66. mod_pubsub:
  67. access_createnode: pubsub_createnode
  68. plugins:
  69. - flat
  70. - pep
  71. force_node_config:
  72. ## Avoid buggy clients to make their bookmarks public
  73. storage:bookmarks:
  74. access_model: whitelist
  75. mod_push: {}
  76. mod_push_keepalive: {}
  77. mod_roster:
  78. versioning: true
  79. # mod_sip: {}
  80. mod_s2s_dialback: {}
  81. mod_shared_roster: {}
  82. mod_stream_mgmt:
  83. resend_on_timeout: if_offline
  84. mod_vcard: {}
  85. mod_vcard_xupdate: {}
  86. mod_version:
  87. show_os: false
  88. ### Local Variables:
  89. ### mode: yaml
  90. ### End:
  91. ### vim: set filetype=yaml tabstop=8