From dabfaa213252ebf5654607c5fab911ebac0eb1d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Wed, 6 Oct 2021 17:43:30 +0200 Subject: [PATCH] Fix incorrect config option Both the docs [1] and the code [2] of mod_http_file_share agree that it should be `http_file_share_size_limit`, not `http_file_share_file_size_limit`. [1]: https://prosody.im/doc/modules/mod_http_file_share#larger-files [2]: https://hg.prosody.im/trunk/file/default/plugins/mod_http_file_share.lua#l35 --- ansible/files/prosody.cfg.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/files/prosody.cfg.lua b/ansible/files/prosody.cfg.lua index d42c63c..71cbe68 100644 --- a/ansible/files/prosody.cfg.lua +++ b/ansible/files/prosody.cfg.lua @@ -261,7 +261,7 @@ Component ("share."..DOMAIN) "http_file_share" http_host = "share."..DOMAIN http_external_url = "https://share."..DOMAIN.."/" end - http_file_share_file_size_limit = 1024 * 1024 * 16 -- 16MB + http_file_share_size_limit = 1024 * 1024 * 16 -- 16MB http_file_share_expire_after = 60 * 60 * 24 * RETENTION_DAYS -- N days http_paths = { file_share = "/upload"