From 1fb8e60c45c33a775406cea277e98f689d2d7f57 Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Thu, 11 Jan 2024 16:03:25 +0100 Subject: prosody: fix typos See https://prosody.im/doc/modules/mod_http_file_share#larger-files --- content/prosody.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/prosody.md b/content/prosody.md index 94fb548..44e2f68 100644 --- a/content/prosody.md +++ b/content/prosody.md @@ -107,7 +107,7 @@ This helps with file transfers for devices behind a NAT, and unless you are usin Enable the proxy by adding the following line to the config: ```cfg -Component " {{}}proxy.example.org{{}}" "proxy65" +Component "{{}}proxy.example.org{{}}" "proxy65" ``` As you can see, another subdomain is needed. We will add ssl certificates for this later. @@ -117,7 +117,7 @@ At this point, file sharing is now setup and ready to be used. Although there ar A big concern with file sharing is large files, seeing as all files shared over XMPP will be stored on your server. This can become a problem when many (and large) files are being shared. We can put a cap on large files by adding the following line to our config: ```cfg -http_file_share_file_size_limit = 20971520 +http_file_share_size_limit = 20971520 ``` This puts a 20MB cap on all files being shared. The value is specified in bytes. You can also specify after how long files should be deleted by adding the following line: -- cgit v1.2.3