00 /What You Will Learn
By the end you will be able to
- Say what nginx is and what a reverse proxy does.
- Read a small nginx config:
server,location,proxy_pass. - Read the access log and the error log.
- Test a config with
nginx -tbefore using it, and say why that is a habit. - Explain 502 and 504, and what nginx does when the backend is down.
- Reload a config with
nginx -s reloadwithout dropping requests.
Before you start
Finish Lab 01 (Docker Compose Basics) and Lab 03 (HTTP, Caching and DNS) first. You should know what a request, a response, a header and a status code are. You do not need to know nginx.