mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 12:38:26 +08:00
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
Block a user