Hands-on task
A password on the sales stats
The shop owner checks sales at http://localhost/stats/, and right now anyone can see that page. Protect /stats/ with HTTP basic auth: user owner, password Sh0p-2026. The rest of the site must stay public.
- nginx
- auth_basic
- htpasswd
- location
- 401