123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- ###. =======
- ###' MODULES
- ##
- ## Modules enabled in all ejabberd virtual hosts.
- ##
- modules:
- mod_adhoc: {}
- mod_admin_extra: {}
- mod_announce: # recommends mod_adhoc
- access: announce
- mod_avatar: {}
- # mod_block_strangers: {} # requires captcha
- mod_blocking: {} # requires mod_privacy
- mod_bosh: {}
- mod_caps: {}
- mod_carboncopy: {}
- mod_client_state: {}
- mod_configure: {} # requires mod_adhoc
- mod_conversejs:
- websocket_url: "ws://@HOST@:5280/websocket"
- ## mod_delegation: {} # for xep0356
- mod_disco: {}
- mod_fail2ban: {}
- # mod_stun_disco: {} #--> see 50-stun-turn.yml
- # mod_http_api: {}
- # mod_http_fileserver:{}
- ## docroot: "/var/www"
- ## accesslog: "/home/ejabberd/logs/access.log"
- #mod_http_api: {}
- mod_http_upload:
- put_url: "https://@HOST@:5443/upload"
- thumbnail: false # otherwise needs ejabberd to be compiled with libgd support
- max_size: 524288 # 5MB
- custom_headers:
- "Access-Control-Allow-Origin": "https://@HOST@"
- "Access-Control-Allow-Methods": "GET,HEAD,PUT,OPTIONS"
- "Access-Control-Allow-Headers": "Content-Type"
- mod_http_upload_quota:
- max_days: 7
- mod_last: {}
- ## XEP-0313: Message Archive Management
- ## You might want to setup a SQL backend for MAM because the mnesia database is
- ## limited to 2GB which might be exceeded on large servers
- ## mod_mam: {} # for xep0313, mnesia is limited to 2GB, better use an SQL backend
- mod_mam:
- assume_mam_usage: true
- default: always
- mod_muc:
- access:
- - allow
- access_admin:
- - allow: admin
- access_create: muc_create
- access_persistent: muc_create
- access_mam:
- - allow
- default_room_options:
- mam: true
- persistent: true
- public: false
- public_list: false
- allow_subscription: true # enable MucSub
- ## mod_muc_log: {}
- ## mod_multicast: {}
- mod_offline:
- access_max_user_messages: max_user_offline_messages
- mod_ping: {}
- ## mod_pres_counter:
- ## count: 5
- ## interval: 60
- mod_privacy: {}
- mod_private: {}
- mod_proxy65:
- access: local
- max_connections: 5
- mod_pubsub:
- access_createnode: pubsub_createnode
- ignore_pep_from_offline: true
- last_item_cache: false
- plugins:
- - "flat"
- - "pep"
- force_node_config:
- "eu.siacs.conversations.axolotl.*":
- access_model: open
- "storage:bookmarks":
- access_model: whitelist
- mod_push: {}
- mod_push_keepalive: {}
- #mod_register:
- ##
- ## Protect In-Band account registrations with CAPTCHA.
- ##
- ## captcha_protected: true
- ##
- ## Set the minimum informational entropy for passwords.
- ##
- ## password_strength: 32
- ##
- ## After successful registration, the user receives
- ## a message with this subject and body.
- ##
- # welcome_message:
- # subject: "Welcome!"
- # body: |-
- # Hi.
- # Welcome to this XMPP server.
- ##
- ## When a user registers, send a notification to
- ## these XMPP accounts.
- ##
- ## registration_watchers:
- ## - "admin1@example.org"
- ##
- ## Only clients in the server machine can register accounts
- ##
- # ip_access: trusted_network
- ##
- ## Local c2s or remote s2s users cannot register accounts
- ##
- ## access_from: deny
- # access: register
- # mod_roster: {}
- mod_s2s_dialback: {}
- mod_roster:
- versioning: true
- mod_shared_roster: {}
- ## mod_sic: {}
- ## mod_stats: {}
- mod_time: {}
- mod_vcard:
- search: false
- mod_vcard_xupdate: {}
- mod_version:
- show_os: false
- mod_stream_mgmt:
- resend_on_timeout: if_offline
|