Learn Labs
Foundations

Self-test

Check your understanding

Self-test8 questions

—/8
  1. What does the master process do, and what do workers do?

  2. Why is capacity roughly workers × worker_connections ÷ 2 when proxying?

  3. What happens when you reload with an invalid configuration?

  4. Five reloads under load produced 2 errors in 1,367 requests. What were they, and how should clients handle them?

  5. Why did the security headers disappear in a location with its own add_header?

  6. In what order does Nginx pick a location: exact, prefix, ^~, regex?

  7. Why did the site answer for Host: evil.example, and what fixed it?

  8. Design question

    Write the CI checks you'd run before any Nginx config change reaches production.