Mastering NGINX - Second Edition
暫譯: 精通 NGINX - 第二版

Dimitri Aivaliotis

相關主題

商品描述

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

  1. Installing NGINX and Third-Party Modules
  2. A Configuration Guide
  3. Using the mail Module
  4. NGINX as a Reverse Proxy
  5. Reverse Proxy Advanced Topics
  6. The NGINX HTTP Server
  7. NGINX for the Application Developer
  8. Integrating Lua with NGINX
  9. Troubleshooting Techniques
  10. Directive Reference
  11. The Rewrite Rule Guide
  12. The NGINX Community
  13. Persisting Solaris Network Tunings

商品描述(中文翻譯)

**主要特點**
- 獲取提示、技巧和專家見解,幫助您為任何伺服器情況配置 NGINX
- 使用實用的指導和可自由使用的實際代碼範例,將 NGINX 整合到您的應用架構中
- 在配置問題出現之前及出現時進行故障排除,以獲得無縫的 NGINX 伺服器體驗

**書籍描述**
NGINX 是一款高效能的 HTTP 伺服器和郵件代理,旨在使用極少的系統資源。儘管它功能強大,但正確配置 NGINX 以滿足您的期望仍然是一個挑戰。《Mastering Nginx》是解決方案——一本內部指南,將澄清 NGINX 配置的模糊領域。根據不同情況調整 NGINX,利用一些較不常見的配置指令改善您的 NGINX 體驗,並了解如何設計和個性化配置以符合您的需求。

首先,快速回顧在操作系統上安裝和設置 NGINX 伺服器及其與第三方模組的整合。接著,解釋 NGINX 的郵件代理模組及其身份驗證,並使用反向代理來解決擴展問題。然後,了解如何將 NGINX 與您的應用整合以執行任務。

書籍的後半部分專注於通過技術解決常見的網頁問題,以及使用 NGINX 模組的技巧。最後,我們還將探索不同的配置,幫助您故障排除 NGINX 伺服器並協助性能調優。

**您將學到的內容**
- 編譯合適的第三方模組以滿足您的需求
- 編寫身份驗證伺服器以用於郵件代理模組
- 創建自己的 SSL 證書以加密連接
- 使用 try_files 解決文件存在性檢查問題
- 緩存和壓縮響應以獲得更快的用戶互動
- 將流行的 PHP 框架與 FastCGI 模組整合
- 構建有用的日誌配置

**關於作者**
**Dimitri Aivaliotis** 是矽谷的一名生產工程師。他的職業生涯從為學校建立基於 Linux 的計算機網絡開始,直到為銀行和流行網站構建多數據中心、高可用性基礎設施。他花了十多年時間解決客戶的問題,並在此過程中學習了 NGINX。

Dimitri 以優異的成績從倫斯勒理工學院獲得物理學學士學位,並在佛羅里達州立大學獲得管理信息系統碩士學位。

**目錄**
1. 安裝 NGINX 和第三方模組
2. 配置指南
3. 使用郵件模組
4. NGINX 作為反向代理
5. 反向代理進階主題
6. NGINX HTTP 伺服器
7. NGINX 對於應用開發者
8. 將 Lua 與 NGINX 整合
9. 故障排除技術
10. 指令參考
11. 重寫規則指南
12. NGINX 社群
13. 持久化 Solaris 網絡調整