mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
Upgrade: revert change to default LOCAL_UPLOADS_DIR in prod settings.
The main purpose of the "var" convention is to make it easy to write stuff inside of our git repo when running a dev instance, and then "var" gets excluded from checkins. For production, that's not as much of a concern. For upgrades we don't want to be changing the directory around and confusing matters, especially with the extra moving part of nginx configs (which have their own issues in terms of being overwritten by accident when admins go to S3).
This commit is contained in:
committed by
Rishi Gupta
parent
0120ff5612
commit
f6975f9334
@@ -155,7 +155,7 @@ INLINE_IMAGE_PREVIEW = True
|
||||
# https://github.com/zulip/zulip/issues/291 for discussion of a better
|
||||
# solution that won't be automatically reverted by the Zulip upgrade
|
||||
# script), and then restart nginx.
|
||||
LOCAL_UPLOADS_DIR = "/home/zulip/var/uploads"
|
||||
LOCAL_UPLOADS_DIR = "/home/zulip/uploads"
|
||||
#S3_AUTH_UPLOADS_BUCKET = ""
|
||||
#S3_AVATAR_BUCKET = ""
|
||||
|
||||
|
Reference in New Issue
Block a user