location ~ .*.(gif|jpg|jpeg|png|bmp)!info$ {
alias /HOME/img10/;
image_filter size;
access_log off;
}
返回的是{},有朋友试到过吗?
alias /HOME/img10/;
image_filter size;
access_log off;
}
返回的是{},有朋友试到过吗?
1
tttale Jul 26, 2018
location 改用 /uri/这种路径匹配,不过有些图片会返回 415,看 error log 是 image filter: too big response: xxxx while sending response to client,小一点的图片则正常,不确定是否是图片大小引起的。。。
|