← 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:

  1. The nginx service is stopped.
  2. After a bad deploy, /var/www/html/index.html is owned by root (nginx runs as www-data and can't read it).
  3. The error log /var/log/nginx/error.log has 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