Hands-on task
nginx won't start after an edit
Someone edited the nginx config and the service no longer comes up. Find the syntax error, fix it and start nginx so that http://localhost/ returns 200.
While nginx is down, the Site tab shows an error. Fix the config (it's easy to edit in the Editor tab), start nginx and click Refresh in the Site tab — the shop page should open.
- nginx
- nginx -t
- config syntax
- service
- diagnostics