Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.