V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
NGINX
NGINX Trac
3rd Party Modules
Security Advisories
CHANGES
OpenResty
ngx_lua
Tengine
在线学习资源
NGINX 开发从入门到精通
NGINX Modules
ngx_echo
duola
V2EX  ›  NGINX

Nginx 图片剪裁模块 image_filter 没有返回值。

  •  
  •   duola · Mar 28, 2017 · 4117 views
    This topic created in 3327 days ago, the information mentioned may be changed or developed.
    location ~ .*.(gif|jpg|jpeg|png|bmp)!info$ {
    alias /HOME/img10/;
    image_filter size;
    access_log off;
    }

    返回的是{},有朋友试到过吗?
    1 replies    2018-07-26 15:11:20 +08:00
    tttale
        1
    tttale  
       Jul 26, 2018
    location 改用 /uri/这种路径匹配,不过有些图片会返回 415,看 error log 是 image filter: too big response: xxxx while sending response to client,小一点的图片则正常,不确定是否是图片大小引起的。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1137 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 23:10 · PVG 07:10 · LAX 16:10 · JFK 19:10
    ♥ Do have faith in what you're doing.