Complete the code to enable proxy buffering in nginx.
proxy_buffering [1];Setting proxy_buffering to on enables buffering of responses from the proxied server.
Complete the code to set the proxy buffer size to 8k.
proxy_buffer_size [1];The proxy_buffer_size directive sets the size of the buffer used for reading the first part of the response from the proxied server. Here, 8k is the correct size.
Fix the error in the code to disable proxy buffering.
proxy_buffering [1];The directive must end with a semicolon. So proxy_buffering off; is correct to disable proxy buffering.
Fill both blanks to set proxy buffers to 4 buffers of 16k each.
proxy_buffers [1] [2];
The proxy_buffers directive takes two values: the number of buffers and the size of each buffer. Here, 4 buffers of 16k each is correct.
Fill all three blanks to set proxy max temp file size to 128m, disable buffering, and set buffer size to 32k.
proxy_max_temp_file_size [1]; proxy_buffering [2]; proxy_buffer_size [3];
proxy_max_temp_file_size sets the max size of temporary files. proxy_buffering off; disables buffering. proxy_buffer_size 32k; sets the buffer size.