mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
nginx: Add PDF files to the content-types list.
Previously, user-uploaded PDF files were not properly rendered by browsers with the local uploads backend, because we weren't setting the correct content-type.
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
types {
|
||||
text/plain txt;
|
||||
|
||||
application/pdf pdf;
|
||||
|
||||
image/gif gif;
|
||||
image/jpeg jpeg jpg;
|
||||
image/png png;
|
||||
|
||||
Reference in New Issue
Block a user