Files
zulip/zerver/lib
Alex Vandiver ed6d62a9e7 avatars: Serve /user_avatars/ through Django, which offloads to nginx.
Moving `/user_avatars/` to being served partially through Django
removes the need for the `no_serve_uploads` nginx reconfiguring when
switching between S3 and local backends.  This is important because a
subsequent commit will move S3 attachments to being served through
nginx, which would make `no_serve_uploads` entirely nonsensical of a
name.

Serve the files through Django, with an offload for the actual image
response to an internal nginx route.  In development, serve the files
directly in Django.

We do _not_ mark the contents as immutable for caching purposes, since
the path for avatar images is hashed only by their user-id and a salt,
and as such are reused when a user's avatar is updated.
2023-01-09 18:23:58 -05:00
..
2022-02-07 18:51:06 -08:00
2021-12-28 09:31:55 -08:00
2022-07-05 17:54:17 -07:00
2022-08-22 15:46:16 -07:00
2022-05-13 20:42:20 -07:00
2022-11-04 14:46:17 -07:00
2022-06-23 19:22:12 -07:00