> Is there a reason why you need nginx "cache" instead of just storing the files statically? I don't have a big enough disk to store *all* user uploaded files accumulated over the years. So I need some way to manage a pool of space to store hot uploads. > One way would be instead of using the cache just store the files as is (in the same structure) with proxy_store I didby foobug - Nginx Mailing List - English
I have nginx setup to proxy file uploads. The file upload streams into nginx, goes into my upstream, and then the upstream streams it to Amazon S3 (after some basic processing). In addition to proxying the upload, I also want to proxy the download, with some caching on the nginx side. It would be ideal if I could add the uploaded file directly to the nginx cache after it is uploaded, so nginx dby foobug - Nginx Mailing List - English