2019-06-14 11:33:26 +02:00
|
|
|
include_config_file:
|
|
|
|
- macros.yml
|
|
|
|
- ejabberd.extauth.yml
|
|
|
|
- ejabberd.ldap.yml
|
|
|
|
- ejabberd.mnesia.yml
|
|
|
|
- ejabberd.mysql.yml
|
2020-04-28 16:22:42 +02:00
|
|
|
- ejabberd.mssql.yml
|
2019-06-14 11:33:26 +02:00
|
|
|
- ejabberd.pgsql.yml
|
|
|
|
- ejabberd.redis.yml
|
|
|
|
- ejabberd.sqlite.yml
|
|
|
|
|
|
|
|
host_config:
|
|
|
|
pgsql.localhost: PGSQL_CONFIG
|
|
|
|
sqlite.localhost: SQLITE_CONFIG
|
|
|
|
mysql.localhost: MYSQL_CONFIG
|
2020-04-28 16:22:42 +02:00
|
|
|
mssql.localhost: MSSQL_CONFIG
|
2019-06-14 11:33:26 +02:00
|
|
|
mnesia.localhost: MNESIA_CONFIG
|
|
|
|
redis.localhost: REDIS_CONFIG
|
|
|
|
ldap.localhost: LDAP_CONFIG
|
|
|
|
extauth.localhost: EXTAUTH_CONFIG
|
|
|
|
localhost:
|
|
|
|
auth_method:
|
|
|
|
- internal
|
|
|
|
- anonymous
|
|
|
|
|
|
|
|
hosts:
|
|
|
|
- localhost
|
|
|
|
- mnesia.localhost
|
|
|
|
- redis.localhost
|
|
|
|
- mysql.localhost
|
2020-04-28 16:22:42 +02:00
|
|
|
- mssql.localhost
|
2019-06-14 11:33:26 +02:00
|
|
|
- pgsql.localhost
|
|
|
|
- extauth.localhost
|
|
|
|
- ldap.localhost
|
|
|
|
- sqlite.localhost
|
|
|
|
|
|
|
|
shaper_rules:
|
|
|
|
c2s_shaper:
|
|
|
|
none: admin
|
|
|
|
normal: all
|
|
|
|
max_user_offline_messages:
|
|
|
|
infinity: all
|
|
|
|
max_user_sessions:
|
|
|
|
10: all
|
|
|
|
s2s_shaper:
|
|
|
|
fast: all
|
|
|
|
|
|
|
|
access_rules:
|
|
|
|
announce:
|
|
|
|
allow: admin
|
|
|
|
c2s:
|
|
|
|
deny: blocked
|
|
|
|
allow: all
|
|
|
|
configure:
|
|
|
|
allow: admin
|
|
|
|
local:
|
|
|
|
allow: local
|
|
|
|
muc:
|
|
|
|
allow: all
|
|
|
|
muc_admin:
|
|
|
|
allow: admin
|
|
|
|
muc_create:
|
|
|
|
allow: local
|
|
|
|
pubsub_createnode:
|
|
|
|
allow: local
|
|
|
|
register:
|
|
|
|
allow: all
|
|
|
|
|
|
|
|
acl:
|
|
|
|
local:
|
2013-08-27 12:12:26 +02:00
|
|
|
user_regexp: ""
|
2020-03-23 10:52:07 +01:00
|
|
|
admin:
|
|
|
|
user: "admin"
|
2019-06-14 11:33:26 +02:00
|
|
|
language: en
|
|
|
|
listen:
|
|
|
|
-
|
|
|
|
port: C2S_PORT
|
2013-08-12 14:25:05 +02:00
|
|
|
module: ejabberd_c2s
|
|
|
|
max_stanza_size: 65536
|
|
|
|
zlib: true
|
|
|
|
starttls: true
|
2017-03-07 12:20:50 +01:00
|
|
|
tls_verify: true
|
2013-08-12 14:25:05 +02:00
|
|
|
shaper: c2s_shaper
|
|
|
|
access: c2s
|
2019-06-14 11:33:26 +02:00
|
|
|
-
|
|
|
|
port: S2S_PORT
|
2013-08-12 14:25:05 +02:00
|
|
|
module: ejabberd_s2s_in
|
2019-06-14 11:33:26 +02:00
|
|
|
-
|
|
|
|
port: WEB_PORT
|
2013-08-12 14:25:05 +02:00
|
|
|
module: ejabberd_http
|
2017-07-05 16:18:31 +02:00
|
|
|
request_handlers:
|
2020-03-23 10:52:07 +01:00
|
|
|
"/admin": ejabberd_web_admin
|
2017-07-05 16:18:31 +02:00
|
|
|
"/api": mod_http_api
|
2018-05-17 11:02:00 +02:00
|
|
|
"/upload": mod_http_upload
|
2019-06-14 11:33:26 +02:00
|
|
|
"/captcha": ejabberd_captcha
|
2020-04-24 06:32:17 +02:00
|
|
|
-
|
|
|
|
port: STUN_PORT
|
|
|
|
module: ejabberd_stun
|
|
|
|
transport: udp
|
|
|
|
use_turn: true
|
2020-06-03 06:13:43 +02:00
|
|
|
turn_ipv4_address: "203.0.113.3"
|
2019-06-14 11:33:26 +02:00
|
|
|
-
|
|
|
|
port: COMPONENT_PORT
|
2016-09-21 09:45:11 +02:00
|
|
|
module: ejabberd_service
|
2019-06-14 11:33:26 +02:00
|
|
|
password: PASSWORD
|
|
|
|
loglevel: LOGLEVEL
|
2013-08-12 14:25:05 +02:00
|
|
|
max_fsm_queue: 1000
|
2017-03-10 13:12:43 +01:00
|
|
|
queue_type: file
|
2019-06-14 11:33:26 +02:00
|
|
|
modules:
|
2013-08-12 14:25:05 +02:00
|
|
|
mod_adhoc: []
|
2023-01-20 18:41:09 +01:00
|
|
|
mod_admin_update_sql: []
|
2019-06-14 11:33:26 +02:00
|
|
|
mod_announce: []
|
2013-08-12 14:25:05 +02:00
|
|
|
mod_configure: []
|
|
|
|
mod_disco: []
|
|
|
|
mod_ping: []
|
2019-08-06 13:03:23 +02:00
|
|
|
mod_proxy65:
|
2019-10-01 17:00:50 +02:00
|
|
|
port: PROXY_PORT
|
2019-08-06 13:03:23 +02:00
|
|
|
vcard: VCARD
|
|
|
|
mod_muc:
|
|
|
|
vcard: VCARD
|
2017-07-05 16:18:31 +02:00
|
|
|
mod_muc_admin: []
|
2019-06-14 11:33:26 +02:00
|
|
|
mod_carboncopy: []
|
2019-09-12 09:26:45 +02:00
|
|
|
mod_jidprep: []
|
2019-06-14 11:33:26 +02:00
|
|
|
mod_mam: []
|
|
|
|
mod_last: []
|
|
|
|
mod_register:
|
|
|
|
welcome_message:
|
2013-08-12 14:25:05 +02:00
|
|
|
subject: "Welcome!"
|
|
|
|
body: "Hi.
|
|
|
|
Welcome to this XMPP server."
|
|
|
|
mod_stats: []
|
2017-01-23 11:51:05 +01:00
|
|
|
mod_s2s_dialback: []
|
|
|
|
mod_legacy_auth: []
|
2017-02-21 10:38:03 +01:00
|
|
|
mod_stream_mgmt:
|
|
|
|
max_ack_queue: 10
|
2017-05-17 16:21:59 +02:00
|
|
|
resume_timeout: 3
|
2020-04-24 06:32:17 +02:00
|
|
|
mod_stun_disco:
|
|
|
|
secret: "cryptic"
|
|
|
|
services:
|
|
|
|
-
|
|
|
|
host: "example.com"
|
|
|
|
type: turns
|
2013-08-12 14:25:05 +02:00
|
|
|
mod_time: []
|
|
|
|
mod_version: []
|
2018-05-17 11:02:00 +02:00
|
|
|
mod_http_upload:
|
2019-06-14 11:33:26 +02:00
|
|
|
docroot: PRIV_DIR
|
|
|
|
put_url: PUT_URL
|
|
|
|
get_url: GET_URL
|
2018-05-17 11:02:00 +02:00
|
|
|
max_size: 10000
|
2019-08-06 13:03:23 +02:00
|
|
|
vcard: VCARD
|
2013-08-12 14:25:05 +02:00
|
|
|
registration_timeout: infinity
|
2016-09-23 11:30:33 +02:00
|
|
|
s2s_use_starttls: false
|
2019-06-14 11:33:26 +02:00
|
|
|
ca_file: CAFILE
|
|
|
|
c2s_cafile: CAFILE
|
|
|
|
outgoing_s2s_port: S2S_PORT
|
|
|
|
shaper:
|
2013-08-12 14:25:05 +02:00
|
|
|
fast: 50000
|
2016-11-08 13:15:19 +01:00
|
|
|
normal: 10000
|
2019-06-14 11:33:26 +02:00
|
|
|
certfiles:
|
|
|
|
- CERTFILE
|
2017-07-05 16:18:31 +02:00
|
|
|
|
2019-06-14 11:33:26 +02:00
|
|
|
new_sql_schema: NEW_SCHEMA
|
2018-09-18 09:44:41 +02:00
|
|
|
|
2023-10-04 21:15:07 +02:00
|
|
|
update_sql_schema: UPDATE_SQL_SCHEMA
|
|
|
|
|
2017-07-05 16:18:31 +02:00
|
|
|
api_permissions:
|
|
|
|
"public commands":
|
|
|
|
who: all
|
|
|
|
what: "*"
|