I'm building nginx cache on a development machine and try to copy the files to a server that has the same nginx cache settings. But nginx is not picking up my copied caches and overwrite my caches.

Update #1:

Testing the persistent cache in Varnish.

Update #2:

Persistent cache in Varnish is experimental and crashes. =(

link|improve this question

feedback

1 Answer

Try using proxy_store in Nginx instead of proxy_cache. While proxy_cache is under control of Nginx (so that your own files may interfere in some way), proxy_store is used to create mirrors. It's probably better fit for your needs.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.