From 754953e7a57b7fcbf66ffdb7b1c055bdb8fa583e Mon Sep 17 00:00:00 2001 From: Blallo <blallo@autistici.org> Date: Wed, 5 Feb 2025 09:26:39 +0100 Subject: [PATCH 1/2] Remove duplicate --- roles/prosody/templates/prosody.cfg.lua.j2 | 1 - 1 file changed, 1 deletion(-) diff --git a/roles/prosody/templates/prosody.cfg.lua.j2 b/roles/prosody/templates/prosody.cfg.lua.j2 index 8d36bd16..ece713e4 100644 --- a/roles/prosody/templates/prosody.cfg.lua.j2 +++ b/roles/prosody/templates/prosody.cfg.lua.j2 @@ -30,7 +30,6 @@ modules_enabled = { "ping"; -- Replies to XMPP pings with pongs "mam"; -- Store messages in an archive and allow users to access it "csi_simple"; -- Simple Mobile optimizations - "carbons"; -- Enable XEP-0280: Message Carbons -- Admin interfaces --"admin_adhoc"; -- Allows administration via an XMPP client that supports ad-hoc commands -- GitLab From d6bbe744039c77b03dffea3b83713dfa5e1f45a6 Mon Sep 17 00:00:00 2001 From: Blallo <blallo@autistici.org> Date: Wed, 5 Feb 2025 09:26:55 +0100 Subject: [PATCH 2/2] Explicit ssl certs for muc component --- roles/prosody/templates/prosody.cfg.lua.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/prosody/templates/prosody.cfg.lua.j2 b/roles/prosody/templates/prosody.cfg.lua.j2 index ece713e4..3192ee43 100644 --- a/roles/prosody/templates/prosody.cfg.lua.j2 +++ b/roles/prosody/templates/prosody.cfg.lua.j2 @@ -153,6 +153,10 @@ Component "conference.jabber.{{ domain }}" "muc" "muc_mam"; "vcard_muc"; } + ssl = { + key = "/etc/credentials/public/{{ domain }}/privkey.pem"; + certificate = "/etc/credentials/public/{{ domain }}/fullchain.pem"; + } max_history_messages = 500; muc_room_default_public = false; muc_room_default_persistent = true; -- GitLab