mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: improve support for (whitelisted) SVGs as images
This commit is contained in:
@@ -157,7 +157,7 @@ server {
|
||||
try_files $uri =404;
|
||||
}
|
||||
# this allows us to bypass rails
|
||||
location ~* \.(gif|png|jpg|jpeg|bmp|tif|tiff)$ {
|
||||
location ~* \.(gif|png|jpg|jpeg|bmp|tif|tiff|svg)$ {
|
||||
try_files $uri =404;
|
||||
}
|
||||
# thumbnails & optimized images
|
||||
|
||||
Reference in New Issue
Block a user