diff options
Diffstat (limited to 'files/usr/local/etc/prosody/prosody.cfg.lua.xmpp_server')
-rw-r--r-- | files/usr/local/etc/prosody/prosody.cfg.lua.xmpp_server | 7 |
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"} |