0
0
Nginxdevops~10 mins

Proxy buffering in Nginx - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to enable proxy buffering in nginx.

Nginx
proxy_buffering [1];
Drag options to blanks, or click blank then click option'
Aon
Boff
Cdisable
Dtrue
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'disable' or 'true' which are not valid values.
Forgetting to add a semicolon at the end.
2fill in blank
medium

Complete the code to set the proxy buffer size to 8k.

Nginx
proxy_buffer_size [1];
Drag options to blanks, or click blank then click option'
A32k
B8k
C16k
D4k
Attempts:
3 left
💡 Hint
Common Mistakes
Using sizes smaller or larger than requested.
Omitting the unit 'k'.
3fill in blank
hard

Fix the error in the code to disable proxy buffering.

Nginx
proxy_buffering [1];
Drag options to blanks, or click blank then click option'
Afalse;
Boff;
Cdisable;
Doff
Attempts:
3 left
💡 Hint
Common Mistakes
Missing semicolon causes nginx configuration errors.
Using invalid values like 'disable' or 'false'.
4fill in blank
hard

Fill both blanks to set proxy buffers to 4 buffers of 16k each.

Nginx
proxy_buffers [1] [2];
Drag options to blanks, or click blank then click option'
A4
B8
C16k
D32k
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping the order of number and size.
Using invalid sizes without units.
5fill in blank
hard

Fill all three blanks to set proxy max temp file size to 128m, disable buffering, and set buffer size to 32k.

Nginx
proxy_max_temp_file_size [1];
proxy_buffering [2];
proxy_buffer_size [3];
Drag options to blanks, or click blank then click option'
A128m
Boff
C32k
D64m
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up the order of directives.
Using invalid values or missing semicolons.