Forum: NGINX Howto block Range request header

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
92e491cd0681202b782be7ba27f4052f?d=identicon&s=25 Phuwadon Danrahan (Guest)
on 2008-12-18 08:02
(Received via mailing list)
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

I could do this at Apache & Lighttpd but i prefer to run NGinx instead
of those web servers.

Thank you.
F5a6ed477b109fe6acc11a5a8f87e7e8?d=identicon&s=25 mike (Guest)
on 2008-12-18 08:27
(Received via mailing list)
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
This topic is locked and can not be replied to.