X-Accel-Redirect / X-Sendfile From Remote Servers

From: Sebastien Estienne <sebastien.estienne#gmail.com>
Date: Thu, 9 Sep 2010 13:48:17 +0200


Hello,

I'd like to know how to do something similar to this with haproxy: http://kovyrin.net/2010/07/24/nginx-fu-x-accel-redirect-remote/

the idea is that haproxy proxify an application server that returns headers like:
X-Accel-Redirect: http://10.0.0.1/some/file.jpg And when haproxy recieve this header, it request the file and serve it instead of forwarding the response of the application server

It s like if haproxy was handling the redirect on behalf of the client

regards,
Sebastien Estienne Received on 2010/09/09 13:48

This archive was generated by hypermail 2.2.0 : 2010/09/09 14:00 CEST