Configure nginx temporary proxy cache dir? It's possible using proxy_temp_path configuration setting (here's the reference).