[Bug] X-Accel-Redirect

Maxim Dounin mdounin at mdounin.ru
Thu Sep 9 22:38:39 MSD 2010


Hello!

On Thu, Sep 09, 2010 at 02:19:55PM -0400, rovervr wrote:

> Hi Maxim,
> 
> 
> [quote="Maxim Dounin"]
> Additionally, it doesn't change X-Accel-Redirect behaviour for
> non-static files.
> [/quote]
> 
> Don't get me wrong .. but isn't X-Accel-Redirect for serving static
> files without the overhead of php-fpm/fastcgi? Can you provide an
> example where X-Accel-Redirect is used for dynamic files?

With X-Accel-Redirect you may redirect request to anything you 
want, e.g. to appropriate backend.

Maxim Dounin



More information about the nginx mailing list