Nginx HTTP Server - Fourth Edition: Harness the power of Nginx to make the most of your infrastructure and serve pages faster than ever before

Martin Fjordvald, Clement Nedelcu

  • 出版商: Packt Publishing
  • 出版日期: 2018-02-19
  • 售價: $1,920
  • 貴賓價: 9.5$1,824
  • 語言: 英文
  • 頁數: 348
  • 裝訂: Paperback
  • ISBN: 178862355X
  • ISBN-13: 9781788623551
  • 相關分類: HTTP網站伺服器 Web-server
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Make the most of your infrastructure and serve pages faster than ever with Nginx.

Key Features

  • Discover possible interactions between Nginx and Apache to get the best of both worlds
  • Learn to exploit the features offered by Nginx for your web applications
  • Get your hands on the most updated version of Nginx (1.13.2) to support all your web administration requirements

Book Description

Nginx is a lightweight HTTP server designed for high-traffic websites, with network scalability as the primary objective. With the advent of high-speed internet access, short loading times and fast transfer rates have become a necessity.

This book is a detailed guide to setting up Nginx in ways that correspond to actual production situations: as a standalone server, as a reverse proxy, interacting with applications via FastCGI, and more. In addition, this complete direct reference will be indispensable at all stages of the configuration and maintenance processes. This book mainly targets the most recent version of Nginx (1.13.2) and focuses on all the new additions and improvements, such as support for HTTP/2, improved dynamic modules, security enhancements, and support for multiple SSL certificates. This book is the perfect companion for both Nginx beginners and experienced administrators. For beginners, it will take you through the complete process of setting up this lightweight HTTP server on your system and configuring its various modules so that it does exactly what you need quickly and securely. For more experienced administrators, this book provides different approaches that can help you make the most of your current infrastructure.

Nginx can be employed in many situations, whether you are looking to construct an entirely new web-serving architecture or simply want to integrate an efficient tool to optimize your site loading speeds.

What you will learn

  • Download and install Nginx on your system
  • Prepare a basic configuration and test your initial setup
  • Discover the core functionality of the HTTP module
  • Make the most of first- and third-party Nginx modules
  • Set up Nginx to work with PHP, Python, and other applications
  • Learn how to set up Nginx to work with Apache
  • Fully replace Apache with Nginx
  • Optimize your architecture with threads or load balancing
  • Identify errors in configuration and learn basic troubleshooting techniques
  • Consult the exhaustive directive and module index for reference

Who This Book Is For

This book is a perfect match to web administrators who are interested in solutions to optimize their infrastructure. Whether you are looking into replacing your existing web server software or integrating a new tool to cooperate with applications that are already up and running, this book is your ideal resource.

Table of Contents

  1. Downloading and Installing Nginx
  2. Basic Nginx Configuration
  3. HTTP Configuration
  4. Module Configuration
  5. PHP and Python with Nginx
  6. Nginx as a reverse proxy
  7. Apache and Nginx Together
  8. From Apache to Nginx
  9. Introduction to load balancing and optimization
  10. Case studies
  11. Troubleshooting

商品描述(中文翻譯)

充分利用您的基礎設施,並以比以往更快的速度提供網頁,Nginx 是您的最佳選擇。

主要特點:
- 探索 Nginx 與 Apache 之間的可能互動,以兼顧兩者的優勢
- 學習如何運用 Nginx 的功能於您的網頁應用程式
- 使用最新版本的 Nginx(1.13.2)來滿足您的網頁管理需求

書籍描述:
Nginx 是一個輕量級的 HTTP 伺服器,旨在應對高流量網站,其主要目標是網路可擴展性。隨著高速網路的普及,短載入時間和快速傳輸速率已成為必需品。

本書詳細介紹了如何在實際生產環境中設置 Nginx,包括作為獨立伺服器、反向代理與 FastCGI 應用程式互動等。此外,本書還提供了完整的直接參考,對於配置和維護過程的各個階段都是不可或缺的。本書主要針對最新版本的 Nginx(1.13.2),並關注所有新增和改進的功能,例如對 HTTP/2 的支援、改進的動態模組、安全增強和多個 SSL 憑證的支援。本書是 Nginx 初學者和有經驗的管理員的完美伴侶。對於初學者,本書將引導您完成在系統上設置這個輕量級 HTTP 伺服器的完整過程,並配置其各種模組,以快速且安全地實現您的需求。對於有經驗的管理員,本書提供了不同的方法,幫助您充分利用現有的基礎設施。

無論您是要構建全新的網頁伺服器架構,還是只是想整合一個高效的工具來優化網站載入速度,Nginx 都能滿足您的需求。

學到什麼:
- 下載並安裝 Nginx 到您的系統
- 準備基本配置並測試初始設置
- 探索 HTTP 模組的核心功能
- 充分利用第一方和第三方 Nginx 模組
- 設定 Nginx 與 PHP、Python 和其他應用程式一起運作
- 學習如何設定 Nginx 與 Apache 一起運作
- 完全取代 Apache,使用 Nginx
- 通過線程或負載平衡優化您的架構
- 識別配置中的錯誤,並學習基本的故障排除技巧
- 查閱詳盡的指令和模組索引以供參考

本書適合對優化基礎設施解決方案感興趣的網頁管理員。無論您是考慮替換現有的網頁伺服器軟體,還是整合一個新的工具與已經運行的應用程式合作,本書都是您的理想資源。

目錄:
1. 下載和安裝 Nginx
2. 基本 Nginx 配置
3. HTTP 配置
4. 模組配置
5. 使用 Nginx 的 PHP 和 Python
6. Nginx 作為反向代理
7. Apache 和 Nginx 一起使用
8. 從 Apache 到 Nginx
9. 負載平衡和優化入門
10. 案例研究
11. 故障排除