25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00
xmpp.chapril.org-ejabberd/test/ejabberd_SUITE_data/ejabberd.yml

168 lines
3.0 KiB
YAML
Raw Normal View History

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
- 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
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
- 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
module: ejabberd_c2s
max_stanza_size: 65536
zlib: true
starttls: true
tls_verify: true
shaper: c2s_shaper
access: c2s
2019-06-14 11:33:26 +02:00
-
port: S2S_PORT
module: ejabberd_s2s_in
2019-06-14 11:33:26 +02:00
-
port: WEB_PORT
module: ejabberd_http
request_handlers:
2020-03-23 10:52:07 +01:00
"/admin": ejabberd_web_admin
"/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
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
max_fsm_queue: 1000
queue_type: file
2019-06-14 11:33:26 +02:00
modules:
mod_adhoc: []
mod_admin_update_sql: []
2019-06-14 11:33:26 +02:00
mod_announce: []
mod_configure: []
mod_disco: []
mod_ping: []
2019-08-06 13:03:23 +02:00
mod_proxy65:
port: PROXY_PORT
2019-08-06 13:03:23 +02:00
vcard: VCARD
mod_muc:
vcard: VCARD
mod_muc_admin: []
2019-06-14 11:33:26 +02:00
mod_carboncopy: []
mod_jidprep: []
2019-06-14 11:33:26 +02:00
mod_mam: []
mod_last: []
mod_register:
welcome_message:
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
resume_timeout: 3
2020-04-24 06:32:17 +02:00
mod_stun_disco:
secret: "cryptic"
services:
-
host: "example.com"
type: turns
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
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:
fast: 50000
2016-11-08 13:15:19 +01:00
normal: 10000
2019-06-14 11:33:26 +02:00
certfiles:
- CERTFILE
2019-06-14 11:33:26 +02:00
new_sql_schema: NEW_SCHEMA
api_permissions:
"public commands":
who: all
what: "*"