Author: Dimitri Aivaliotis
Title: Mastering NGINX – Second Edition
Print Length: 344
Language: English, Francais, Italiano, Espanol, Deutsch
Format: PDF, ePub, mobi, azw, kf8, txt, ibook, Kindle
An in-depth guide to configuring NGINX server to match your day-to-day tasksAbout This BookThis configuration guide will help you understand how to best configure NGINX for any situationIt includes useful code samples to help you integrate NGINX into your application’s architectureThis book is full of configuration snippets examples, best-practice descriptions, and reference tables for each directiveWho This Book Is ForThis 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 LearnCompile the right third-party module to meet your needsWrite an authentication server to use with the mail proxy moduleCreate your own SSL certificates to encrypt connectionsUse try_files to solve your file-existence check problemsCache and compress responses to get speedier user interactionIntegrate popular PHP frameworks with the FastCGI moduleConstruct useful logging configurationsTroubleshoot configuration problems as they ariseIn DetailNGINX 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 integration with third-party modules. From here, we will move on to explain NGINX’s mail proxy module and its authentication, and reverse proxy to solve scaling issues. Then you will see how to integrate NGINX with your applications to perform tasks.The latter part of the book focuses on working through techniques to solve common web issues and the know-hows using NGINX modules. Finally, we will also explore different configurations that will help you troubleshoot NGINX server and assist with performance tuning.