← All labs
ServicesAdvanced~12 min
BOSS: The site is down
Incident: the website is returning errors and users are complaining. You'll need to work through several root causes:
- The
nginxservice is stopped. - After a bad deploy,
/var/www/html/index.htmlis owned by root (nginx runs as www-data and can't read it). - The error log
/var/log/nginx/error.loghas filled up and needs clearing.
Get the site healthy again: fix ownership, clear the log, and bring nginx up so it's listening on port 80.
Your mission
- Restore `/var/www/html/index.html` ownership to www-data
- Empty `/var/log/nginx/error.log`
- Start nginx so it's listening on port 80
Everything here is simulated and safe — break things freely. Your progress is tracked on the right and saved in this browser.
player@shellquest — the-incident