Avoid creating a temp file on Nginx host
nginx-forum at forum.nginx.org
Fri Jul 19 21:16:34 UTC 2019
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:
I have tried setting up this config variables:
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:
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,284929,284929#msg-284929
More information about the nginx