<p>Where does the NGINX ingress controller stores temporary files?</p>
<p>This is the message I receive and I am pretty sure it is storing the file on a volume attached to one of my pods:</p>
<pre><code>2021/09/27 20:33:23 [warn] 33#33: *26 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000000002, client: 10.42.1.0, server: _, request: &quot;POST /api/adm/os/image HTTP/1.1&quot;, host: &quot;vzredfish.cic.shidevops.com&quot;, referrer: &quot;https://vzredfish.cic.shidevops.com/setting&quot;
</code></pre>
<p>But when I go into the location <code>/var/cache/nginx/client_temp</code> there is nothing.</p>
<p>I checked on the ingress controller pods too and there is another there either.</p>
<p>I would like to know how to troubleshoot the issue we have. I'm trying to upload a file directly to the pod memory but instead it uploads it to a temporary location first.</p>
<p>Thanks for the help.</p>
<p>Danilo</p>

Danilo Patrucco
<p>Answering your question indirectly there seems to some ways to skip proxy buffering to achieve your goal of uploading a file directly to the pod memory, I've found an interesting article <a href="https://www.getpagespeed.com/server-setup/nginx/tuning-proxy_buffer_size-in-nginx" rel="nofollow noreferrer">here</a>, have a look at the <em>Disable proxy buffering</em> section.</p>
