add 'ico' and 'webp' to image extensions list in order to bypass rails
This commit is contained in:
parent
2e7753c27f
commit
94a0d43f31
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue