Skip to content

Commit dc13b8a

Browse files
committedJan 23, 2025
Copy configuration from ejabberd upstream (#120)
This applies the following changes from ejabberd upstream into ecs: - Removed obsolete options log_* - Added legacy port 5223 - Removed unnecessary IPv6 address in loopback acl - Removed max_fsm_queue toplevel option which was set to default value - Added mod_muc_occupantid, available since ejabberd 23.10 Those elements remain specific for this ecs image: - Path to certificates generated for this image - ACME remains disabled - oauth enabled in X listener - STUN and SIP disabled, with example configuration commented - Admin access granted to admin account - MUC/Sub enabled in default room options
1 parent bcbc96e commit dc13b8a

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed
 

‎ecs/conf/ejabberd.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ hosts:
1818
- localhost
1919

2020
loglevel: info
21-
log_rotate_size: 10485760
22-
log_rotate_date: ""
23-
log_rotate_count: 1
24-
log_rate_limit: 100
2521

2622
certfiles:
2723
- /home/ejabberd/conf/server.pem
@@ -44,6 +40,14 @@ listen:
4440
shaper: c2s_shaper
4541
access: c2s
4642
starttls_required: true
43+
-
44+
port: 5223
45+
ip: "::"
46+
module: ejabberd_c2s
47+
max_stanza_size: 262144
48+
shaper: c2s_shaper
49+
access: c2s
50+
tls: true
4751
-
4852
port: 5269
4953
ip: "::"
@@ -133,7 +137,6 @@ acl:
133137
ip:
134138
- 127.0.0.0/8
135139
- ::1/128
136-
- ::FFFF:127.0.0.1/128
137140
admin:
138141
user:
139142
- "admin@localhost"
@@ -203,8 +206,6 @@ shaper_rules:
203206
normal: all
204207
s2s_shaper: fast
205208

206-
max_fsm_queue: 10000
207-
208209
acme:
209210
contact: "mailto:example-admin@example.com"
210211
ca_url: "https://acme-staging-v02.api.letsencrypt.org/directory"
@@ -252,6 +253,7 @@ modules:
252253
allow_subscription: true # enable MucSub
253254
mam: true
254255
mod_muc_admin: {}
256+
mod_muc_occupantid: {}
255257
mod_offline:
256258
access_max_user_messages: max_user_offline_messages
257259
mod_ping: {}

0 commit comments

Comments
 (0)