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 2 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
    
I am trying to enable nginx accept uploading 5GB files to the backend but it seems that your command does not have any effect, still running out of space on root parition and still not knowing how to tune it. –  sorin Jul 24 at 13:40

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.