mirror of https://github.com/zulip/zulip.git
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:
parent
586b236375
commit
ab0ee0b923
|
@ -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 = ""
|
||||
|
||||
|
|
Loading…
Reference in New Issue