aboutsummaryrefslogtreecommitdiff
path: root/files/usr
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2025-03-25 17:34:44 -0400
committerCullum Smith <cullum@sacredheartsc.com>2025-03-25 17:34:44 -0400
commit9ffc950b5296374f387bfc689806d7af717bb78a (patch)
treebfbf54034b9e18fb440fa5ba9db3f6506e9c1162 /files/usr
parent14c1c4172d71a69854e07736c7b086fa20788e91 (diff)
downloadinfrastructure-9ffc950b5296374f387bfc689806d7af717bb78a.tar.gz
add unified push to prosody
Diffstat (limited to 'files/usr')
-rw-r--r--files/usr/local/etc/prosody/prosody.cfg.lua.xmpp_server7
1 files changed, 6 insertions, 1 deletions
diff --git a/files/usr/local/etc/prosody/prosody.cfg.lua.xmpp_server b/files/usr/local/etc/prosody/prosody.cfg.lua.xmpp_server
index e628db8..9c4e2bc 100644
--- a/files/usr/local/etc/prosody/prosody.cfg.lua.xmpp_server
+++ b/files/usr/local/etc/prosody/prosody.cfg.lua.xmpp_server
@@ -40,6 +40,7 @@ modules_enabled = {
"groups"; -- Shared roster support
"csi_battery_saver";
"reload_modules";
+ "unified_push";
}
reload_modules = { "groups", "tls" }
@@ -98,10 +99,14 @@ http_file_share_expires_after = ${prosody_upload_expiration}
http_file_share_daily_quota = ${prosody_upload_quota}
http_file_share_global_quota = ${prosody_upload_quota}
+Component "${prosody_push_fqdn}" "unified_push"
+ unified_push_backend = "storage"
+ http_host = "${prosody_public_fqdn}"
+
$(for vhost in $prosody_domains; do cat <<EOF
VirtualHost "${vhost}"
disco_items = {
- { "${prosody_public_fqdn}" }
+ { "${prosody_public_fqdn}"; "${prosody_push_fqdn}"; }
}
Component "conference.${vhost}" "muc"
modules_enabled = { "muc_mam"}