Welcome! Log In Create A New Profile

Advanced

Re: X-Accel-Redirect

Maxim Dounin
March 10, 2010 06:52AM
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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

X-Accel-Redirect

Alberto March 10, 2010 05:45AM

Re: X-Accel-Redirect

Maxim Dounin March 10, 2010 06:52AM

Re: X-Accel-Redirect

Alberto March 10, 2010 06:59AM

Re: X-Accel-Redirect

Maxim Dounin March 10, 2010 07:16AM

Re: X-Accel-Redirect

Alberto March 10, 2010 08:17AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 288
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready