Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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. =(

share|improve this question

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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