Nginx save file to local disk

Posted by Dean Chen on Server Fault See other posts from Server Fault or by Dean Chen
Published on 2013-11-12T06:43:41Z Indexed on 2013/11/12 9:58 UTC
Read the original article Hit count: 226

Filed under:
|

My case is:

In our China company, we have to access one web server in USA headquarter through Internet. But network is too slow, and we download many big image files. All our developers have to wait.

So we want to setup a Nginx which acts as reverse proxy, its upstream is our USA web server. Question is can we make Nginx save the image files from USA web server into its local disk? I mean let Nginx act as one cache server.

© Server Fault or respective owner

Related posts about nginx

Related posts about cache