Mastering Nginx - Second Edition

Mastering Nginx - Second Edition
by Dimitri Aivaliotis / / / AZW3


Read Online 1.3 MB Download


Key Features

Get tips, tricks, and master insight to help you configure NGINX for any server situation

Integrate NGINX into your applications architecture with is, using hands-on guidance and practical code samples that are free to use

Troubleshoot configuration problems before and as they arise, for a seamless NGINX server experience

Book Description

NGINX is a high-performance HTTP server and mail proxy designed to use very few system resources. But despite its power it is often a challenge to properly configure NGINX to meet your expectations. Mastering Nginx is the solution – an insider's guide that will clarify the murky waters of NGINX's configuration. Tune NGINX for various situations, improve your NGINX experience with some of the more obscure configuration directives, and discover how to design and personalize a configuration to match your needs.

To begin with, quickly brush up on installing and setting up the NGINX server on the OS and its integration with third-party modules. From here, move on to explain NGINX's mail proxy module and its authentication, and reverse proxy to solve scaling issues. Then 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.

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

About the Author

Dimitri Aivaliotis is a production engineer in Silicon Valley. His career has taken him from building a Linux-based computer network for a school up through multi-datacenter, high-availability infrastructures for banks and popular websites. He has spent over a decade solving his customers' problems and learned NGINX along the way.

Dimitri graduated summa cum laude with a BS in Physics from Rensselaer Polytechnic Institute and received an MS in Management Information Systems at Florida State University.

Table of Contents

Installing NGINX and Third-Party Modules

A Configuration Guide

Using the mail Module

NGINX as a Reverse Proxy

Reverse Proxy Advanced Topics

The NGINX HTTP Server

NGINX for the Application Developer

Integrating Lua with NGINX

Troubleshooting Techniques

Directive Reference

The Rewrite Rule Guide

The NGINX Community

Persisting Solaris Network Tunings

views: 1206