An in-depth guide to configuring NGINX server to match your day-to-day tasks
About This Book
- This configuration guide will help you understand how to best configure NGINX for any situation
- It includes useful code samples to help you integrate NGINX into your application's architecture
- This book is full of configuration snippets examples, best-practice descriptions, and reference tables for each directive
Who This Book Is For
This book is for intermediate to experienced system administrators and system engineers who want to use and configure NGINX to match their day-to-day tasks and also design a robust configuration module to solve their hosting problems. Some knowledge of NGINX is a plus, but is not a prerequisite.
What You Will Learn
- Compile the right third-party module to meet your needs
- Write an authentication server to use with the mail proxy module
- Create your own SSL certificates to encrypt connections
- Use try_files to solve your file-existence check problems
- Cache and compress responses to get speedier user interaction
- Integrate popular PHP frameworks with the FastCGI module
- Construct useful logging configurations
- Troubleshoot configuration problems as they arise
In Detail
NGINX is a high-performance HTTP server and mail proxy designed to use very few system resources. With the many how-to's and example configurations floating around the web, it is difficult to know how to properly configure NGINX to meet your expectations. Mastering Nginx will clarify the murky waters of NGINX's configuration, helping you to tune NGINX for various situations, showing you what some of the more obscure configuration directives do, and teaching you how to design a decent configuration to match your needs.
To begin with, we will quickly brush up on installing and setting up the NGINX server on the OS and its integrl³°