Sites
Password protection
Putting a prompt in front of a whole site.
HTTP basic authentication in front of everything the site serves. Nginx asks
for it, so the application never sees an unauthenticated request at all.
The usual reason is a staging site that should not be indexed or wandered into.