Which server block answers, and why the wrong site sometimes does
Follow nginx's selection — address and port, then the Host header, then the default server — and declare a default that serves nobody's site.
22 minutesTechnical content last reviewed on 3 Aug 2026
This lesson is for signed-in learners
Create an account to subscribe and record your learning progress.
What this lesson builds
- Serving a site and putting an application behind Nginx
- Saying what an output proves, and what it leaves open
