Re: RE: Add files to cache manually

2021-05-21 Thread foobug
> 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 ca

Add files to cache manually

2021-05-20 Thread foobug
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