# Downloading file

**URL:** <https://www.ruby-forum.com/t/downloading-file/212791>\
**Category:** NGINX\
**Created:** [October 14, 2011, 3:23am UTC](https://www.ruby-forum.com/t/downloading-file/212791 "2011-10-14T03:23:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [October 14, 2011, 3:23am UTC](https://www.ruby-forum.com/t/downloading-file/212791/1 "2011-10-14T03:23:51Z")

</div>

Hello,

I have a problem setting up nginx i want to adapt to retrieve files  
through readfile php.The files will be charged an external server.

Server → My Server(Streaming) → User

I want the files pulled directly by nginx.

Posted at Nginx Forum:

> **[Downloading file](https://forum.nginx.org/read.php?2,216675,216675#msg-216675)**
>
> Hello, I have a problem setting up nginx i want to adapt to retrieve files through readfile php.The files will be charged an external server. Server --\> My Server(Streaming) --\> User I want the files pulled directly by nginx.
