Nginx and Apache Web Servers in Production
Exit

Lesson 10 of 11 · Security and performance

Logs and diagnosis — log_format with response times, reading a 502 or a 504, finding the faulty server

40 min Debian 12

Objective

Have logs that answer the questions of an incident right away (who is slow? which server fails?), know how to analyse them with awk, and cleanly remove a sick server.

This lesson is part of the full course

Unlock Nginx and Apache Web Servers in Production to read every lesson, do the exercises, access the simulations and earn your certificate.

Already enrolled? Log in.