mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
settings: Increase default max file upload size to 100MB.
This also _lowers_ the default nginx client_max_body_size, since that no longer caps the upload file size.
This commit is contained in:
committed by
Tim Abbott
parent
94dad72b75
commit
24d110f063
@@ -167,7 +167,7 @@ S3_AVATAR_PUBLIC_URL_PREFIX: str | None = None
|
||||
LOCAL_UPLOADS_DIR: str | None = None
|
||||
LOCAL_AVATARS_DIR: str | None = None
|
||||
LOCAL_FILES_DIR: str | None = None
|
||||
MAX_FILE_UPLOAD_SIZE = 25
|
||||
MAX_FILE_UPLOAD_SIZE = 100
|
||||
# How many GB an organization on a paid plan can upload per user,
|
||||
# on zulipchat.com.
|
||||
UPLOAD_QUOTA_PER_USER_GB = 5
|
||||
|
||||
@@ -800,13 +800,10 @@ LOCAL_UPLOADS_DIR = "/home/zulip/uploads"
|
||||
# S3_SKIP_PROXY = True
|
||||
# S3_UPLOADS_STORAGE_CLASS = "STANDARD"
|
||||
|
||||
## Maximum allowed size of uploaded files, in megabytes. This value is
|
||||
## capped at 80MB in the nginx configuration, because the file upload
|
||||
## implementation doesn't use chunked uploads, and browsers may crash
|
||||
## with larger uploads.
|
||||
## Set MAX_FILE_UPLOAD_SIZE to 0 to disable file uploads completely
|
||||
## Maximum allowed size of uploaded files, in megabytes. Set
|
||||
## MAX_FILE_UPLOAD_SIZE to 0 to disable file uploads completely
|
||||
## (including hiding upload-related options from UI).
|
||||
MAX_FILE_UPLOAD_SIZE = 25
|
||||
MAX_FILE_UPLOAD_SIZE = 100
|
||||
|
||||
## Controls whether name changes are completely disabled for this
|
||||
## installation. This is useful when you're syncing names from an
|
||||
|
||||
Reference in New Issue
Block a user