prosody 13.0.6

This commit is contained in:
2026-08-02 19:35:07 +02:00
parent 3861f209d4
commit 8fa78be70a
12 changed files with 93 additions and 91 deletions
+10 -8
View File
@@ -1,8 +1,10 @@
local domain = os.getenv("DOMAIN")
local domain_http_upload = os.getenv("DOMAIN_HTTP_UPLOAD") or "upload." .. domain
local domain_muc = os.getenv("DOMAIN_MUC") or "conference." .. domain
local domain_proxy = os.getenv("DOMAIN_PROXY") or "proxy." .. domain
local domain_pubsub = os.getenv("DOMAIN_PUBSUB") or "pubsub." .. domain
local getenv = Lua.os.getenv
local domain = getenv("DOMAIN")
local domain_http_upload = getenv("DOMAIN_HTTP_UPLOAD") or "upload." .. domain
local domain_muc = getenv("DOMAIN_MUC") or "conference." .. domain
local domain_proxy = getenv("DOMAIN_PROXY") or "proxy." .. domain
local domain_pubsub = getenv("DOMAIN_PUBSUB") or "pubsub." .. domain
-- XEP-0368: SRV records for XMPP over TLS
-- https://compliance.conversations.im/test/xep0368/
c2s_direct_tls_ssl = {
@@ -23,9 +25,9 @@ VirtualHost (domain)
-- Set up a http file upload
Component (domain_http_upload) "http_file_share"
http_file_share_expires_after = 60 * 60 * 24 * 7 -- a week in seconds
local size_limit = os.getenv("HTTP_FILE_SHARE_SIZE_LIMIT") or 10 * 1024 * 1024 -- Default is 10MB
local size_limit = getenv("HTTP_FILE_SHARE_SIZE_LIMIT") or 10 * 1024 * 1024 -- Default is 10MB
http_file_share_size_limit = size_limit
http_file_share_daily_quota = os.getenv("HTTP_FILE_SHARE_DAILY_QUOTA") or 10 * size_limit -- Default is 10x the size limit
http_file_share_daily_quota = getenv("HTTP_FILE_SHARE_DAILY_QUOTA") or 10 * size_limit -- Default is 10x the size limit
Component (domain_muc) "muc"
name = "Prosody Chatrooms"
@@ -33,7 +35,7 @@ Component (domain_muc) "muc"
max_history_messages = 20
modules_enabled = {
"muc_mam",
"vcard_muc"
--"vcard_muc"
}
-- Set up a SOCKS5 bytestream proxy for server-proxied file transfers