Summary

In this chapter, you refreshed your knowledge of how exactly Nginx is configured. We showed how the language looks and what some common pitfalls are when writing it. Some of you learned a thing or two about the mysterious files that Nginx authors included in the default conf folder; some will never ever miss a semicolon again. Run nginx -t often, but never blindly rely on it saying everything is okay.

The next chapter is devoted to reading and configuring logging mechanisms inside Nginx.

Get Nginx Troubleshooting 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.