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

2014-02-25 Thread Maxim Dounin
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 nee

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

2014-02-25 Thread Kurk_SS
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. location / { if ($request_method != GET) { break;} #bad request try_files @echofile @echofile; #request_uri is a target for downloa