mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
add 'ico' and 'webp' to image extensions list in order to bypass rails
This commit is contained in:
@@ -151,7 +151,7 @@ server {
|
||||
try_files $uri =404;
|
||||
}
|
||||
# this allows us to bypass rails
|
||||
location ~* \.(gif|png|jpg|jpeg|bmp|tif|tiff|svg)$ {
|
||||
location ~* \.(gif|png|jpg|jpeg|bmp|tif|tiff|svg|ico|webp)$ {
|
||||
try_files $uri =404;
|
||||
}
|
||||
# thumbnails & optimized images
|
||||
|
||||
Reference in New Issue
Block a user