Summary

Most of the problems you run into occur during the early configuration stages while you test your server before production. These problems are usually easier to deal with, because you are mentally prepared for the challenge and, more importantly, because Nginx points out syntax or configuration errors on start-up. It is, on the other hand, much more difficult to identify the cause of malfunctions while your websites are actually in their production stages. But once again, Nginx saves the day: if you properly configure the log files (both access and error logs), and make a habit of reading them regularly, you will find that problem solving is made easy.

This concludes our journey with Nginx, during which we have been through a large number ...

Get Nginx HTTP Server - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.