I'm using Nginx in proxy pass mode to serve an application. We have had some issues where the host running Nginx doesn't have enough space to host some uploaded files. Is there a way to stream this files to the backend server without creating a temporary file in the Nginx host?
Based on the post here: https://serverfault.com/questions/768693/nginx-how-to-completely-disable-request-body-buffering?newreg=990eae88df904d448be4555c0589b7ed
I have tried setting up this config variables:
proxy_http_version 1.1;
proxy_request_buffering off;
client_max_body_size 0;
And all the different combinations of those config variables but I always see the temp file being written to the Nginx Host.
Is there a way to pass the file without buffering?
I based this configuration based on this ServerFault post: https://serverfault.com/questions/768693/nginx-how-to-completely-disable-request-body-buffering?newreg=990eae88df904d448be4555c0589b7ed