Skip to content

Commit 4f65cba

Browse files
committed
config
# Conflicts: # ejabberd.yml.exampl
1 parent 0a18669 commit 4f65cba

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

ejabberd.yml.example

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
hosts:
1818
- localhost
1919

20+
auth_password_format: scram
21+
2022
loglevel: info
2123

2224
## If you already have certificates, list them here
@@ -36,6 +38,7 @@ listen:
3638
shaper: c2s_shaper
3739
access: c2s
3840
starttls_required: false
41+
allow_unencrypted_sasl2: true
3942
-
4043
port: 5223
4144
ip: "::"
@@ -72,6 +75,11 @@ listen:
7275
request_handlers:
7376
/admin: ejabberd_web_admin
7477
/.well-known/acme-challenge: ejabberd_acme
78+
/conversejs: mod_conversejs
79+
/oauth: ejabberd_oauth
80+
/register: mod_register_web
81+
/xmlrpc: ejabberd_xmlrpc
82+
/ws: ejabberd_http_ws
7583
-
7684
port: 5478
7785
ip: "::"
@@ -108,6 +116,8 @@ access_rules:
108116
allow: admin
109117
configure:
110118
allow: admin
119+
web_user:
120+
allow: all
111121
muc_create:
112122
allow: local
113123
pubsub_createnode:
@@ -169,6 +179,16 @@ shaper_rules:
169179
s2s_shaper: fast
170180

171181
modules:
182+
mod_conversejs:
183+
conversejs_resources: "/home/bernar/e/git/mas/conversejs/12.0.0/dist"
184+
conversejs_plugins: ["libsignal-protocol.min.js"]
185+
# conversejs_options:
186+
# auto_login: true
187+
mod_host_meta:
188+
bosh_service_url: "https://@HOST@:5443/bosh"
189+
websocket_url: "wss://@HOST@:5443/ws"
190+
mod_muc_log:
191+
outdir: /tmp/muclogs
172192
mod_register_web: {}
173193
mod_adhoc: {}
174194
mod_adhoc_api: {}
@@ -240,6 +260,7 @@ modules:
240260
ip_access: trusted_network
241261
allow_modules:
242262
- mod_invites
263+
redirect_url: http://localhost/testtest
243264
mod_roster:
244265
versioning: true
245266
mod_s2s_bidi: {}

0 commit comments

Comments
 (0)