Foundations
Self-test
Check your understanding
Self-test8 questions
—/8
What does the master process do, and what do workers do?
Why is capacity roughly workers × worker_connections ÷ 2 when proxying?
What happens when you reload with an invalid configuration?
Five reloads under load produced 2 errors in 1,367 requests. What were they, and how should clients handle them?
Why did the security headers disappear in a location with its own add_header?
In what order does Nginx pick a location: exact, prefix, ^~, regex?
Why did the site answer for Host: evil.example, and what fixed it?
- Design question
Write the CI checks you'd run before any Nginx config change reaches production.