60-modules.yml 4.4 KB

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