diff options
| author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2025-12-13 15:16:09 +0100 |
|---|---|---|
| committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2025-12-13 15:16:09 +0100 |
| commit | 5703143856855674d32731e5280e5beed9581453 (patch) | |
| tree | fc518075731f38d7a3bb772c0aa536b76098a218 /source/self_hosting/modern_xmpp_server/index.rst | |
| parent | 065acfeb3460fe54d6a7769921445b52a93a9aa2 (diff) | |
Diffstat (limited to 'source/self_hosting/modern_xmpp_server/index.rst')
| -rw-r--r-- | source/self_hosting/modern_xmpp_server/index.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/self_hosting/modern_xmpp_server/index.rst b/source/self_hosting/modern_xmpp_server/index.rst index 3c09bc8..4ac2bef 100644 --- a/source/self_hosting/modern_xmpp_server/index.rst +++ b/source/self_hosting/modern_xmpp_server/index.rst @@ -27,7 +27,7 @@ reached with ejabberd_ and other servers. .. _ejabberd: https://www.ejabberd.im/ I'm also targetting Debian_ stable (+ backports_); currently that's -bookworm and prosody 0.12. +trixie and prosody 0.13. .. _Debian: https://www.debian.org .. _backports: https://backports.debian.org/ @@ -58,7 +58,7 @@ the following to explicitely set a certificate location:: certificate = "/etc/ssl/public/example.org.pem"; key = "/etc/ssl/private/example.org-key.pem"; } - legacy_ssl_ssl = { + c2s_direct_tls_ssl = { certificate = "/etc/ssl/public/example.org.pem"; key = "/etc/ssl/private/example.org-key.pem"; } @@ -175,16 +175,16 @@ syncronize message history between multiple clients (XEP-0313) You can also add the following line to enable rich media transfers via http uploads (XEP-0363_):: - Component "upload.chat.example.org" "http_upload" + Component "upload.chat.example.org" "http_file_share" The defaults are pretty sane, but see -https://modules.prosody.im/mod_http_upload.html for details on what +https://prosody.im/doc/modules/mod_http_file_share for details on what knobs you can configure for this module; you may want e.g. to change the maximum file size limit and setup an expiry date:: - Component "upload.chat.example.org" "http_upload" - http_upload_file_size_limit = 1024 * 1024 * 2 - http_upload_expire_after = 60 * 60 * 24 * 7 + Component "upload.chat.example.org" "http_file_share" + http_file_share_file_size_limit = 1024 * 1024 * 2 + http_file_share_expire_after = 60 * 60 * 24 * 7 .. _XEP-0363: https://xmpp.org/extensions/xep-0363.html |
