 <p>Yes, set the <code>proxy_max_temp_file_size</code> to zero, or some other reasonably small value. Another option (which might be a better choice) is to set the <code>proxy_temp_path</code> to faster storage so that nginx can do a slightly better job of insulating the application from buggy or malicious hosts. </p>