首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
›
NGINX
›
NGINX Trac
›
3rd Party Modules
›
Security Advisories
›
CHANGES
›
OpenResty
›
ngx_lua
›
Tengine
在线学习资源
›
NGINX 开发从入门到精通
NGINX Modules
›
ngx_echo
广告
V2EX
›
NGINX
Nginx 图片剪裁模块 image_filter 没有返回值。
duola
·
2017-03-28 21:04:16 +08:00
· 3262 次点击
这是一个创建于 2757 天前的主题,其中的信息可能已经有所发展或是发生改变。
location ~ .*.(gif|jpg|jpeg|png|bmp)!info$ {
alias /HOME/img10/;
image_filter size;
access_log off;
}
返回的是{},有朋友试到过吗?
Nginx
access_log
img10
alias
1 条回复
•
2018-07-26 15:11:20 +08:00
1
tttale
2018-07-26 15:11:20 +08:00
location 改用 /uri/这种路径匹配,不过有些图片会返回 415,看 error log 是 image filter: too big response: xxxx while sending response to client,小一点的图片则正常,不确定是否是图片大小引起的。。。
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
1082 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms ·
UTC 18:30
·
PVG 02:30
·
LAX 11:30
·
JFK 14:30
Developed with
CodeLauncher
♥ Do have faith in what you're doing.