2
0
Fork 0
xmpp-server/etc/prosody/conf.d/telepath.im.cfg.lua

55 lines
1.8 KiB
Lua

VirtualHost "telepath.im"
------ Components ------
-- See https://prosody.im/doc/components
-- Rooms (MUC service)
-- See https://prosody.im/doc/modules/mod_muc
Component "room.telepath.im" "muc"
name = "Rooms (MUC)"
modules_enabled = { "muc_mam", "vcard_muc", "muc_moderation", "muc_offline_delivery", "muc_hats_adhoc" }
restrict_room_creation = "local"
component_admins_as_room_owners = true
muc_tombstones = true
muc_tombstone_expiry = 60*86400 -- 2 months
max_history_messages = 20
muc_room_default_history_length = 100
-- MUC MAM
-- See https://prosody.im/doc/modules/mod_muc_mam
muc_log_by_default = true
muc_log_presences = false
log_all_rooms = true
muc_log_expires_after = "1m" -- Remove archived messages after 1 month
muc_log_cleanup_interval = 4*60*60 -- 4 hours
-- Hypertext (file sharing)
-- See https://prosody.im/doc/modules/mod_http_file_share
Component "hypertext.telepath.im" "http_file_share"
name = "Hypertext (HTTP file share)"
http_file_share_size_limit = 300*1024*1024 -- 300 MiB
http_file_share_global_quota = 200*1024*1024*1024 -- 200 GiB
http_file_share_expires_after = 30*86400 -- 1 month
http_host = "hypertext.telepath.im"
http_external_url = "https://hypertext.telepath.im/"
-- Beacon (publish-subscribe)
-- See https://prosody.im/doc/modules/mod_pubsub
Component "beacon.telepath.im" "pubsub"
name = "Beacon (publish-subscribe)"
pubsub_max_items = 10000
expose_publisher = true
-- Relayer (SOCKS5 bytestreams)
-- See https://prosody.im/doc/modules/mod_proxy65
Component "relayer.telepath.im" "proxy65"
name = "Relayer (SOCKS5 bytestreams)"
-- External components
-- See https://prosody.im/doc/components#adding_an_external_component
-- Parsee (Matrix gateway)
-- See https://git.kappach.at/lda/Parsee
Component "parsee.telepath.im"
name = "Matrix gateway"
component_secret = "iloveyou"