an upstream response is buffered to a temporary file
It seems that I need not be fixed:
A client usually has much slower connection and can't consume the response data as fast as it produced by your application.
Nginx tries to buffer the whole response in order to release your application ASAP.