prosody: Bump HTTP upload limit to 16MB (now matches WhatsApp, no more complaining)

This commit is contained in:
Matthew Wild 2021-01-29 22:20:49 +00:00
parent d71359104c
commit 13d03bc903
1 changed files with 2 additions and 1 deletions

View File

@ -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"