Download Queue

Alexander Kunz akunz at ntmedia.de
Thu Dec 3 14:57:15 MSK 2009


X-Accel-Redirectthe is the key, i also use this feature, works like a 
charm.

The server side script only send the header fast, secure and easy to setup...



Arie Karhendana wrote:
> On Thu, Dec 3, 2009 at 18:38, Kiswono Prayogo <kiswono at gmail.com> wrote:
>   
>> thanks, but using that lib, i  still should mess with nginx main
>> configuration or at least "sites-available/somesite" file ^^ hmm.. this case
>> hard to crack.. i wonder how rapidshare or megaupload did their things.. did
>> they serve their file using server side script, wouln't it be slow and
>> wasting resource..
>>     
>
> You could try X-Accel-Redirect header,
> http://wiki.nginx.org/NginxXSendfile
>
> So your script just have to emit the header. File delivery will be
> handled by nginx.
>
>   





More information about the nginx mailing list