From 13d03bc90306369b746fbdfda33e1291ab264d4d Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 29 Jan 2021 22:20:49 +0000 Subject: [PATCH] prosody: Bump HTTP upload limit to 16MB (now matches WhatsApp, no more complaining) --- ansible/files/prosody.cfg.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/files/prosody.cfg.lua b/ansible/files/prosody.cfg.lua index 6291913..6659931 100644 --- a/ansible/files/prosody.cfg.lua +++ b/ansible/files/prosody.cfg.lua @@ -168,6 +168,7 @@ update_check_interval = 21613 -- ~6h http_default_host = DOMAIN http_host = DOMAIN http_external_url = "https://"..DOMAIN.."/" +http_max_content_size = 1024 * 1024 * 16 -- 16MB turncredentials_host = DOMAIN turncredentials_secret = assert(io.open("/snikket/prosody/turn-auth-secret-v2")):read("*l"); @@ -225,6 +226,6 @@ Component ("share."..DOMAIN) "http_upload" http_host = "share."..DOMAIN http_external_url = "https://share."..DOMAIN.."/" end - http_upload_file_size_limit = 1024 * 1024 * 10 -- 10MB + http_upload_file_size_limit = 1024 * 1024 * 16 -- 16MB Include "/snikket/prosody/*.cfg.lua"