60-modules.yml 3.5 KB

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