60-modules.yml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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@:5280/websocket"
  21. ## mod_delegation: {} # for xep0356
  22. mod_disco:
  23. server_info:
  24. #XEP-0157: Contact Addresses for XMPP Services
  25. -
  26. modules: all
  27. name: "abuse-addresses"
  28. urls:
  29. - "data:,Please%20contact%20the%20RFC%202142%20abuse%20address%20of%20this%20domain."
  30. mod_fail2ban: {}
  31. # mod_stun_disco: {} #--> see 50-stun-turn.yml
  32. # mod_http_api: {}
  33. # mod_http_fileserver:{}
  34. ## docroot: "/var/www"
  35. ## accesslog: "/home/ejabberd/logs/access.log"
  36. #mod_http_api: {}
  37. mod_http_upload:
  38. put_url: "https://@HOST@:5443/upload"
  39. thumbnail: false # otherwise needs ejabberd to be compiled with libgd support
  40. max_size: 524288 # 5MB
  41. custom_headers:
  42. "Access-Control-Allow-Origin": "https://@HOST@"
  43. "Access-Control-Allow-Methods": "GET,HEAD,PUT,OPTIONS"
  44. "Access-Control-Allow-Headers": "Content-Type"
  45. mod_http_upload_quota:
  46. max_days: 7
  47. mod_last: {}
  48. ## XEP-0313: Message Archive Management
  49. ## You might want to setup a SQL backend for MAM because the mnesia database is
  50. ## limited to 2GB which might be exceeded on large servers
  51. ## mod_mam: {} # for xep0313, mnesia is limited to 2GB, better use an SQL backend
  52. mod_mam:
  53. assume_mam_usage: true
  54. default: always
  55. mod_muc:
  56. access:
  57. - allow
  58. access_admin:
  59. - allow: admin
  60. access_create: muc_create
  61. access_persistent: muc_create
  62. access_mam:
  63. - allow
  64. default_room_options:
  65. mam: true
  66. persistent: true
  67. public: false
  68. public_list: false
  69. allow_subscription: true # enable MucSub
  70. ## mod_muc_log: {}
  71. ## mod_multicast: {}
  72. mod_offline:
  73. access_max_user_messages: max_user_offline_messages
  74. mod_ping: {}
  75. ## mod_pres_counter:
  76. ## count: 5
  77. ## interval: 60
  78. mod_privacy: {}
  79. mod_private: {}
  80. mod_proxy65:
  81. access: local
  82. max_connections: 5
  83. mod_pubsub:
  84. access_createnode: pubsub_createnode
  85. ignore_pep_from_offline: true
  86. last_item_cache: false
  87. plugins:
  88. - "flat"
  89. - "pep"
  90. force_node_config:
  91. "eu.siacs.conversations.axolotl.*":
  92. access_model: open
  93. "storage:bookmarks":
  94. access_model: whitelist
  95. mod_push: {}
  96. mod_push_keepalive: {}
  97. #mod_register:
  98. ##
  99. ## Protect In-Band account registrations with CAPTCHA.
  100. ##
  101. ## captcha_protected: true
  102. ##
  103. ## Set the minimum informational entropy for passwords.
  104. ##
  105. ## password_strength: 32
  106. ##
  107. ## After successful registration, the user receives
  108. ## a message with this subject and body.
  109. ##
  110. # welcome_message:
  111. # subject: "Welcome!"
  112. # body: |-
  113. # Hi.
  114. # Welcome to this XMPP server.
  115. ##
  116. ## When a user registers, send a notification to
  117. ## these XMPP accounts.
  118. ##
  119. ## registration_watchers:
  120. ## - "admin1@example.org"
  121. ##
  122. ## Only clients in the server machine can register accounts
  123. ##
  124. # ip_access: trusted_network
  125. ##
  126. ## Local c2s or remote s2s users cannot register accounts
  127. ##
  128. ## access_from: deny
  129. # access: register
  130. # mod_roster: {}
  131. mod_s2s_dialback: {}
  132. mod_roster:
  133. versioning: true
  134. mod_shared_roster: {}
  135. ## mod_sic: {}
  136. ## mod_stats: {}
  137. mod_time: {}
  138. mod_vcard:
  139. search: false
  140. mod_vcard_xupdate: {}
  141. mod_version:
  142. show_os: false
  143. mod_stream_mgmt:
  144. resend_on_timeout: if_offline