Hi fellows, My scenario is request a image by its id and respond a fixed size(150*200) image, such as http://foo.com/image?id=1 a backend is used for query file's path in DB by id My configuration is: step 1), pass the request to the backend: location /image{ proxy_pass backend; } step 2), in the backend, set the ' X-Accel-Redirect ', for example, " X-Accel-Redirect :/by ckong - Nginx Mailing List - English
Thanks, Yao. Is there a way to postpone the header's sending? btw: So content-lenght should be known before Nginx invokes the body filter, right?by ckong - Nginx Mailing List - English
Hi all, I'm a newbie in nginx module development. I've a question here, need your help. I'm trying to develop a filter, which works with memcached, is used for request routing. for example, the conf here: location /test { my_rr on; set $memcached_key $arg_key; memcached_pass 127.0.0.1:11211; default_type text/html; } ps: my_by ckong - Nginx Mailing List - English