Nginx HTTP Server, 2/e(Paperback)

Clément Nedelcu

  • 出版商: Packt Publishing
  • 出版日期: 2013-06-27
  • 定價: $1,580
  • 售價: 5.0$790
  • 語言: 英文
  • 頁數: 318
  • 裝訂: Paperback
  • ISBN: 1782162321
  • ISBN-13: 9781782162322
  • 相關分類: 網站伺服器 Web-serverHTTP
  • 立即出貨(限量) (庫存=1)

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

相關主題

商品描述

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

Overview

  • Complete configuration directive and module reference
  • Discover possible interactions between Nginx and Apache to get the best of both worlds
  • Learn to configure your servers and virtual hosts efficiently
  • A step-by-step guide to switching from Apache to Nginx

In Detail

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 free, open source solution will either come as a full replacement of other software such as Apache, or stand in front of your existing infrastructure to improve its overall speed.

"Nginx HTTP Server - Second Edition" provides a detailed guide to setting up Nginx in different ways that correspond to actual production situations: as a standalone server, as a reverse proxy, interacting with applications via FastCGI and more. In addition, the complete directive reference will be your best friend at all stages of the configuration and maintenance processes.

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 to get it to do exactly what you need, in a fast and secure way. For more experienced administrators, this book provides different angles of approach 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.

This book takes you through the setup and configuration of Nginx by detailing every step of the way, from downloading to configuring your server in a selection of common architectures.

What you will learn from this book

  • Download and build Nginx from source along with its dependencies
  • The basics of Nginx configuration: syntax, structure, semantics
  • Create virtual host configurations effortlessly
  • Discover all first-party modules and how to enable, configure and use them
  • Establish advanced rewrite rules with the Nginx Rewrite module
  • Set up Nginx to work with PHP, Python and more via FastCGI
  • Configure Nginx to work as a frontend for your existing HTTP server
  • Learn how to port your Apache rewrite rules through three practical examples
  • Troubleshoot if something goes wrong with the server

Approach

This tutorial book includes detailed instructions for each of the processes it describes: downloading and installing the application, configuring and using modules, and much more. It provides a step-by-step tutorial to replace your existing web server with Nginx. With commented configuration sections and in-depth module descriptions, you will be able to make the most of the performance potential offered by Nginx.

商品描述(中文翻譯)

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

概述:
- 完整的配置指令和模組參考
- 探索 Nginx 與 Apache 之間的可能互動,以獲得最佳效果
- 學習有效地配置您的伺服器和虛擬主機
- 逐步指南,從 Apache 切換到 Nginx

詳細內容:
Nginx 是一個輕量級的 HTTP 伺服器,專為高流量網站設計,其主要目標是網路可擴展性。隨著高速網路訪問的出現,短載入時間和快速傳輸速率已成為必需品。這個免費、開源的解決方案可以完全取代其他軟體,如 Apache,或者作為現有基礎設施的前端,以提高整體速度。

《Nginx HTTP Server - 第二版》提供了一個詳細的指南,以不同的方式設置 Nginx,以應對實際的生產情況:作為獨立伺服器、作為反向代理,通過 FastCGI 與應用程式互動等等。此外,完整的指令參考將成為您在配置和維護過程的最佳助手。

這本書是 Nginx 初學者和有經驗的管理員的完美伴侶。對於初學者,它將帶您完成在系統上設置這個輕量級 HTTP 伺服器的完整過程,並配置其各種模組,以快速且安全地實現您所需的功能。對於更有經驗的管理員,本書提供了不同的方法,可以幫助您充分利用現有的基礎設施。Nginx 可以應用於許多情況,無論您是要構建全新的網頁伺服器架構,還是只想集成一個高效的工具來優化網站載入速度。

本書將帶您通過詳細的步驟,從下載到在常見架構中配置伺服器,進行 Nginx 的設置和配置。

從本書中您將學到:
- 從源碼下載並構建 Nginx 及其相依項目
- Nginx 配置的基礎知識:語法、結構、語義
- 輕鬆創建虛擬主機配置
- 探索所有官方模組,以及如何啟用、配置和使用它們
- 使用 Nginx Rewrite 模組建立高級重寫規則
- 配置 Nginx 與 PHP、Python 等通過 FastCGI 互動
- 配置 Nginx 作為現有 HTTP 伺服器的前端
- 通過三個實際示例學習如何移植 Apache 的重寫規則
- 如果伺服器出現問題,進行疑難排解

方法:
本教學書籍對於所描述的每個過程都提供了詳細的指示:下載和安裝應用程式、配置和使用模組等等。它提供了一個逐步教程,以將現有的網頁伺服器替換為 Nginx。通過有註釋的配置部分和深入的模組描述,您將能夠充分利用 Nginx 提供的性能潛力。