Hands-on task
This task is step 7 of the course “nginx basics”
Fix the broken nginx
The site is down: nginx won't start because of a broken config, and the document root is missing. Fix the config, make http://localhost/ serve a page with the text It works!, and bring nginx up.
Reference:nginx
What you'll practise:
- nginx
- nginx -t
- nginx config
- document root
- debugging