summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2024-01-26 18:38:23 +0000
committerMatthew Fennell <matthew@fennell.dev>2024-01-26 14:44:06 +0000
commit58ce069ae98a74ec95db89e8dda6e1ff188c3b77 (patch)
treedddc11599f08f008762ce58cfa10632865103d1a /files
parentf92d9d194c994b6347705b1eb9b7906b8c2a0943 (diff)
Add support for file upload
This commit adds support for XEPS 0065 and 0365 - i.e. sending files from one account to another.
Diffstat (limited to 'files')
-rw-r--r--files/virtual_host.cfg.lua.j23
1 files changed, 3 insertions, 0 deletions
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