help and docs: Document how to disable file uploads on a server.

This commit is contained in:
Alya Abbott
2025-03-07 15:42:19 -08:00
committed by Tim Abbott
parent 13b4531873
commit fdd04b56a7
2 changed files with 5 additions and 2 deletions

View File

@@ -17,7 +17,9 @@ provider supported by the `boto` library).
Regardless of the backend you choose, you can configure the maximum
size of individual uploaded files using the `MAX_FILE_UPLOAD_SIZE`
[server setting](../production/settings.md).
[server setting](../production/settings.md). Setting it to 0 disables
file uploads, and hides the UI for uploading files from the web and
desktop apps.
## S3 backend configuration

View File

@@ -125,7 +125,8 @@ The Zulip Cloud Free [plan](https://zulip.com/plans/#cloud) includes a total of
In organizations on a self-hosted server, server administrators can configure
the maximum size for uploaded files via the `MAX_FILE_UPLOAD_SIZE`
[server setting][system-settings].
[server setting][system-settings]. Setting it to 0 disables file uploads, and
hides the UI for uploading files from the web and desktop apps.
[system-settings]: https://zulip.readthedocs.io/en/stable/production/settings.html