From 9e282965bf34ed0610748d7d1f6c9d91c450f934 Mon Sep 17 00:00:00 2001 From: Alex Palaistras Date: Wed, 23 Mar 2022 19:53:26 +0000 Subject: [PATCH] prosody: Return correct URL for uploaded files --- service/prosody/container/config/virtualhost.cfg.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/service/prosody/container/config/virtualhost.cfg.lua b/service/prosody/container/config/virtualhost.cfg.lua index 8af2b74..5144c53 100644 --- a/service/prosody/container/config/virtualhost.cfg.lua +++ b/service/prosody/container/config/virtualhost.cfg.lua @@ -33,6 +33,8 @@ Component(host_external) "http_file_share" http_file_share_size_limit = 1024 * 1024 * 32 http_file_share_daily_quota = 1024 * 1024 * 128 http_file_share_global_quota = 1024 * 1024 * 1024 * 5 + http_host = host_external + http_external_url = "https://" .. host_external .. "/" http_paths = { file_share = "/upload" }