Configure nginx temporary proxy cache dir?

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?


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