ejabberd config changes for upgrade

This commit is contained in:
raucao committed 2026-10-05 16:05:32 +02:00
1 parent 2de2a3ef18
commit c64f3c064b
2 files changed
+7 -3

No files matched your search

@@ -69,7 +69,6 @@ listen:
request_handlers:
"/api": mod_http_api
tls: false
captcha: false
-
port: 5443
ip: "::"
@@ -87,7 +86,6 @@ listen:
tls: true
## "/pub/archive": mod_http_fileserver
## register: true
captcha: false
s2s_use_starttls: optional
@@ -280,7 +278,6 @@ modules:
mod_stream_mgmt: {}
mod_s2s_dialback: {}
mod_http_api: {}
mod_muc_occupantid: {}
mod_muc_rtbl: {}
mod_s3_upload:
region: <%= @mod_s3_upload[:region] %>
@@ -33,4 +33,11 @@ describe file('/opt/ejabberd/conf/ejabberd.yml') do
# Regression guard for the unauthenticated RCE fixed in 26.09: mod_adhoc_api
# is one of the exploit prerequisites and must never be enabled.
its('content') { should_not match(/mod_adhoc_api:/) }
# mod_muc_occupantid was merged into mod_muc in 26.02 and the standalone
# module removed, so it must not be configured anymore.
its('content') { should_not match(/mod_muc_occupantid:/) }
# the listen option 'captcha' was deprecated in 26.09
its('content') { should_not match(/^\s*captcha:/) }
end