Unsure about proxy_temp_file_write_size to prevent upstream response buffering
Maxim Dounin
mdounin at mdounin.ru
Tue Jan 29 16:44:11 MSK 2008
Hello!
On Tue, Jan 29, 2008 at 11:11:05PM +1100, Dave Cheney wrote:
> Hi Maxim,
>
> Thanks for your response, I've set my proxy directives to
>
> proxy_buffering on;
> proxy_buffer_size 4k;
> -proxy_buffers 4 32k;
> +proxy_buffers 8 32k;
>
> Which I'm guessing has 256k of buffering capacity, is that correct?
With this settings nginx should be able to buffer up to 260k (4k +
8*32k) of upstream response in memory. This number includes length
of headers returned by upstream.
Maxim Dounin
More information about the nginx
mailing list