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

Running strace on nginx running as a caching reverse proxy server, I can see that it creates cache files in /var/lib/nginx/proxy and then moves them to my configured proxy_cache_path.

Is there any way to make it write cache files directory to my configured directory, or is it possible to change the temporary directory cache path?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

It's possible using proxy_temp_path configuration setting (here's the reference).

share|improve this answer
cool, thankssss –  tom Aug 8 '12 at 15:09

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.