summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.dk>2024-01-11 16:03:25 +0100
committerAdam Stück <adam@adast.dk>2024-01-11 16:07:17 +0100
commit1fb8e60c45c33a775406cea277e98f689d2d7f57 (patch)
tree28a13357642f5f8bfb98cb300ea265e99712dbc3
parent8c6d8cd9de9b3ec3798bdaa0666be2a8efd48721 (diff)
prosody: fix typos
See https://prosody.im/doc/modules/mod_http_file_share#larger-files
-rw-r--r--content/prosody.md4
1 files 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 " {{<hl>}}proxy.example.org{{</hl>}}" "proxy65"
+Component "{{<hl>}}proxy.example.org{{</hl>}}" "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: