From 58ce069ae98a74ec95db89e8dda6e1ff188c3b77 Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Fri, 26 Jan 2024 18:38:23 +0000 Subject: Add support for file upload This commit adds support for XEPS 0065 and 0365 - i.e. sending files from one account to another. --- files/virtual_host.cfg.lua.j2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'files/virtual_host.cfg.lua.j2') diff --git a/files/virtual_host.cfg.lua.j2 b/files/virtual_host.cfg.lua.j2 index 5f0c363..26058cb 100644 --- a/files/virtual_host.cfg.lua.j2 +++ b/files/virtual_host.cfg.lua.j2 @@ -3,3 +3,6 @@ -- SPDX-License-Identifier: AGPL-3.0-only VirtualHost "{{ virtual_host }}" + +Component "upload.{{ virtual_host }}" "http_file_share" +http_file_share_expires_after = 10 * 365 * 24 * 60 * 60 -- cgit v1.2.3