Howto block Range request header

mike mike503 at
Thu Dec 18 10:16:28 MSK 2008

I think kind of the opposite. I'd like nginx to honor the range
request... that would provide the seamless standard request, with the
security of a SAPI-based authenticator (PHP etc.)

Perhaps a parameter to ignore it, block it, or honor it...

On Wed, Dec 17, 2008 at 10:53 PM, Phuwadon Danrahan
<phuwadon at> wrote:
> Hi All,
> I'm running NGinx with PHP fastcgi to provide file download by using
> "X-Accel-Redirect". Almost all of our users use download manager such as
> Flashget, Download Accelerator Plus (DAP) which try to open the second and
> later requests with "Range:" header. Previously, we handled the blocking of
> Range request header at PHP script but the performance was very poor and
> sometimes we got 500 internal server error because of php fastcgi poor
> performance.
> I wonder, is there any configuration that can block "Range" http header at
> Nginx? If there is a solution, it would help improve the service
> performance.
> I could do this at Apache & Lighttpd but i prefer to run NGinx instead of
> those web servers.
> Thank you.
> Phuwadon

More information about the nginx mailing list