NGINX is a high-performance HTTP server and mail proxy designed to use very few system resources. With the many tutorials and example configurations floating around the Web, it is difficult to know how to properly configure NGINX to meet your expectations.
“Mastering Nginx” will serve to clarify the murky waters of NGINX configuration, helping you learn how to tune NGINX for various situations, what some of the more obscure configuration directives do, and how to design a decent configuration to match your needs.
Beginning with an overview of compiling NGINX and describing its basic configuration file format, this guide next takes you on a tour of NGINX’s modules.
From the unique mail module to the upstream module, this book explores the various possibilities of using NGINX as a reverse proxy. The multiple HTTP modules are explained, and the book rounds off the tour with a discussion of troubleshooting.
“Mastering Nginx” will explain all aspects of configuring NGINX to help solve your hosting problems.
What you will learn from this book
- 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 for speedier user-interaction
- Integrate popular PHP frameworks with the FastCGI module
- Construct useful logging configurations
- Troubleshoot configuration problems as they arise
This book is a practical step-by-step tutorial with well-explained code snippets, best-practice tips, and reference tables.
Who this book is for
If you are an experienced systems administrator or systems engineer, familiar with installing and configuring servers to meet specific needs and want to master NGINX, then this book is for you. You do not need to have experience using NGINX already.
- Paperback: 322 pages
- Publisher: Packt Publishing (March 2013)
- Language: English
- ISBN-10: 1849517444
- ISBN-13: 978-1849517447