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 · 4166 views
    This topic created in 3347 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   ·   4527 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 10:01 · PVG 18:01 · LAX 03:01 · JFK 06:01
    ♥ Do have faith in what you're doing.