settings: Document changing LOCAL_UPLOADS_DIR.

The main point here is that you should use a symlink rather than
changing it, since it's more maintenance work to update our nginx
configuration to use an alternative path than to just create a
symbolic link.

Fixes #12157.
This commit is contained in:
Tim Abbott 2019-04-22 14:30:24 -07:00
parent 12e2e0d658
commit 435477c703
1 changed files with 5 additions and 0 deletions

View File

@ -282,6 +282,11 @@ ENABLE_FILE_LINKS = False
# stored in Amazon S3 or another scalable data store here. See docs at:
#
# https://zulip.readthedocs.io/en/latest/production/upload-backends.html
#
# If you change LOCAL_UPLOADS_DIR to a different path, you will also
# need to manually edit Zulip's nginx configuration to use the new
# path. For that reason, we recommend replacing /home/zulip/uploads
# with a symlink instead of changing LOCAL_UPLOADS_DIR.
LOCAL_UPLOADS_DIR = "/home/zulip/uploads"
#S3_AUTH_UPLOADS_BUCKET = ""
#S3_AVATAR_BUCKET = ""