X-Accel-Redirect

Maxim Dounin mdounin at mdounin.ru
Wed Mar 10 14:46:38 MSK 2010


Hello!

On Wed, Mar 10, 2010 at 05:45:34AM -0500, Alberto wrote:

[...]

> As we only need to get some info about the client, we have 
> thought about storing the download folder into nginx-2, and be 
> able to send the x-accel-redirect from nginx-1 to nginx-2.

fastcgi_ignore_header X-Accel-Redirect;
fastcgi_pass_header X-Accel-Redirect;

See here for details (in Russian, wiki has no translation yet - 
feel free to add one; Google Translate is your friend):

http://sysoev.ru/nginx/docs/http/ngx_http_fastcgi_module.html#fastcgi_ignore_headers
http://sysoev.ru/nginx/docs/http/ngx_http_fastcgi_module.html#fastcgi_pass_header

Maxim Dounin



More information about the nginx mailing list