http header doesn't pass throw nginx to php-fpm

Maxim Dounin mdounin at mdounin.ru
Tue Feb 25 16:25:37 UTC 2014


Hello!

On Tue, Feb 25, 2014 at 09:32:54AM -0500, Kurk_SS wrote:

> I use
> 
> http{
> underscores_in_headers on;
> ignore_invalid_headers off;
> 
> and all works fine. php code can see HTTP_RANGE in $_SERVER array.
> 
> but when I use fastcgi cache.

[...]

> It not works now.
> 
> why?

Cache needs full responses, hence it strips Range header 
from requests to backends.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list