0
0
Nginxdevops~10 mins

Proxy timeouts 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 set the proxy timeout to 30 seconds.

Nginx
proxy_read_timeout [1];
Drag options to blanks, or click blank then click option'
A30s
B300
C30
D30sec
Attempts:
3 left
💡 Hint
Common Mistakes
Selecting B ('300') sets 300 seconds instead of 30 seconds.
Using 'sec' instead of 's' is invalid.
2fill in blank
medium

Complete the code to set the proxy connect timeout to 10 seconds.

Nginx
proxy_connect_timeout [1];
Drag options to blanks, or click blank then click option'
A10s
B10
C10000
D10sec
Attempts:
3 left
💡 Hint
Common Mistakes
Selecting C ('10000') sets 10000 seconds instead of 10 seconds.
Using milliseconds without proper format is invalid.
3fill in blank
hard

Fix the error in the proxy timeout setting below by completing the code.

Nginx
proxy_send_timeout [1];
Drag options to blanks, or click blank then click option'
A60
B60sec
C60s
D60000
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'sec' instead of 's' causes nginx to reject the config.
Selecting D ('60000') sets 60000 seconds instead of 60 seconds.
4fill in blank
hard

Fill both blanks to set proxy timeouts: connect timeout to 15 seconds and read timeout to 45 seconds.

Nginx
proxy_connect_timeout [1];
proxy_read_timeout [2];
Drag options to blanks, or click blank then click option'
A15s
B45s
C15
D45
Attempts:
3 left
💡 Hint
Common Mistakes
Using numbers without 's' unit.
Mixing units like 'sec' instead of 's'.
5fill in blank
hard

Fill all three blanks to set proxy timeouts: send timeout 20 seconds, connect timeout 10 seconds, and read timeout 40 seconds.

Nginx
proxy_send_timeout [1];
proxy_connect_timeout [2];
proxy_read_timeout [3];
Drag options to blanks, or click blank then click option'
A20s
B10s
C40s
D20
Attempts:
3 left
💡 Hint
Common Mistakes
Using numbers without 's' unit.
Using 'sec' instead of 's'.