60-modules.yml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. ###. =======
  2. ###' MODULES
  3. ##
  4. ## Modules enabled in all ejabberd virtual hosts.
  5. ##
  6. modules:
  7. mod_adhoc: {}
  8. mod_admin_extra: {}
  9. mod_announce: # recommends mod_adhoc
  10. access: announce
  11. mod_avatar: {}
  12. # mod_block_strangers: {} # requires captcha
  13. mod_blocking: {} # requires mod_privacy
  14. mod_bosh: {}
  15. mod_caps: {}
  16. mod_carboncopy: {}
  17. mod_client_state: {}
  18. mod_configure: {} # requires mod_adhoc
  19. ## mod_delegation: {} # for xep0356
  20. mod_disco: {}
  21. mod_stun_disco: {}
  22. ## mod_echo: {}
  23. ## mod_irc: {}
  24. mod_http_fileserver:
  25. default_content_type: "text/html"
  26. docroot: "/var/www/"
  27. directory_indices:
  28. - "index.html"
  29. ## docroot: "/var/www"
  30. ## accesslog: "/home/ejabberd/logs/access.log"
  31. mod_http_upload:
  32. put_url: "https://@HOST@:5443/upload"
  33. thumbnail: false # otherwise needs ejabberd to be compiled with libgd support
  34. max_size: 524288 # 5MB
  35. mod_http_upload_quota:
  36. max_days: 3
  37. mod_last: {}
  38. ## XEP-0313: Message Archive Management
  39. ## You might want to setup a SQL backend for MAM because the mnesia database is
  40. ## limited to 2GB which might be exceeded on large servers
  41. ## mod_mam: {} # for xep0313, mnesia is limited to 2GB, better use an SQL backend
  42. mod_mam: {}
  43. mod_muc:
  44. ## host: "conference.@HOST@"
  45. access:
  46. - allow
  47. access_admin:
  48. - allow: admin
  49. access_create: muc_create
  50. access_persistent: muc_create
  51. mod_muc_admin: {}
  52. ## mod_muc_log: {}
  53. ## mod_multicast: {}
  54. mod_offline:
  55. access_max_user_messages: max_user_offline_messages
  56. mod_ping: {}
  57. ## mod_pres_counter:
  58. ## count: 5
  59. ## interval: 60
  60. mod_privacy: {}
  61. mod_private: {}
  62. mod_proxy65: {}
  63. mod_pubsub:
  64. access_createnode: pubsub_createnode
  65. ## reduces resource comsumption, but XEP incompliant
  66. ignore_pep_from_offline: true
  67. ## XEP compliant, but increases resource comsumption
  68. ## ignore_pep_from_offline: false
  69. last_item_cache: false
  70. max_items_node: 10
  71. plugins:
  72. - "flat"
  73. - "pep" # pep requires mod_caps
  74. force_node_config:
  75. # ## Avoid using OMEMO by default because it
  76. # ## introduces a lot of hard-to-track problems
  77. # "eu.siacs.conversations.axolotl.*":
  78. # access_model: whitelist
  79. ## Avoid buggy clients to make their bookmarks public
  80. "storage:bookmarks":
  81. access_model: whitelist
  82. mod_push: {}
  83. mod_push_keepalive: {}
  84. mod_register:
  85. ##
  86. ## Protect In-Band account registrations with CAPTCHA.
  87. ##
  88. ## captcha_protected: true
  89. ##
  90. ## Set the minimum informational entropy for passwords.
  91. ##
  92. ## password_strength: 32
  93. ##
  94. ## After successful registration, the user receives
  95. ## a message with this subject and body.
  96. ##
  97. welcome_message:
  98. subject: "Welcome!"
  99. body: |-
  100. Hi.
  101. Welcome to this XMPP server.
  102. ##
  103. ## When a user registers, send a notification to
  104. ## these XMPP accounts.
  105. ##
  106. ## registration_watchers:
  107. ## - "admin1@example.org"
  108. ##
  109. ## Only clients in the server machine can register accounts
  110. ##
  111. ip_access: trusted_network
  112. ##
  113. ## Local c2s or remote s2s users cannot register accounts
  114. ##
  115. ## access_from: deny
  116. access: register
  117. # mod_roster: {}
  118. mod_roster:
  119. versioning: true
  120. mod_shared_roster: {}
  121. ## mod_stats: {}
  122. ## mod_time: {}
  123. mod_vcard:
  124. search: false
  125. mod_vcard_xupdate: {}
  126. mod_version: {}
  127. mod_stream_mgmt: {}
  128. ## Non-SASL Authentication (XEP-0078) is now disabled by default
  129. ## because it's obsoleted and is used mostly by abandoned
  130. ## client software
  131. ## mod_legacy_auth: {}
  132. ## The module for S2S dialback (XEP-0220). Please note that you cannot
  133. ## rely solely on dialback if you want to federate with other servers,
  134. ## because a lot of servers have dialback disabled and instead rely on
  135. ## PKIX authentication. Make sure you have proper certificates installed
  136. ## and check your accessibility at https://check.messaging.one/
  137. mod_s2s_dialback: {}
  138. mod_http_api: {}
  139. mod_fail2ban: {}
  140. ##
  141. ## Enable modules with custom options in a specific virtual host
  142. ##
  143. ## host_config:
  144. ## "localhost":
  145. ## modules:
  146. ## mod_echo:
  147. ## host: "mirror.localhost"
  148. ##
  149. ## Enable modules management via ejabberdctl for installation and
  150. ## uninstallation of public/private contributed modules
  151. ## (enabled by default)
  152. ##
  153. allow_contrib_modules: true