Instant Nginx Starter

Martin Fjordvald

  • 出版商: Packt Publishing
  • 出版日期: 2013-04-19
  • 售價: $940
  • 貴賓價: 9.5$893
  • 語言: 英文
  • 頁數: 48
  • 裝訂: Paperback
  • ISBN: 1782165126
  • ISBN-13: 9781782165125
  • 相關分類: 網站伺服器 Web-server
  • 下單後立即進貨 (約3~4週)

商品描述

Implement the nifty features of nginx with this focused guide

Overview

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results.
  • Understand Nginx and its relevance to the modern web
  • Install Nginx and explore the different methods of installation
  • Configure and customize Nginx
  • Become familiar with the community and people around Nginx.

In Detail

Nginx is an open source web server and a reverse proxy server for HTTP, SMTP, POP3, and IMAP protocols. It is used to deploy dynamic HTTP content on a network using FastCGI and SCGI handlers for scripts and it serves as a software load balancer . Nginx enables the user to save resources compared to other major web servers such as Apache HTTP as well as provides site visitors with a faster load time for an improved user experience.

Instant Nginx Starter will show you how to install and set up nginx web server by introducing you to basics that covers an understanding of the nginx modules, which will help you to migrate from Apache to achieve high concurrency, performance and low memory usage.

Nginx Starter introduces you to the configuration file in its entirety, explaining the importance of different sections. The book then takes you through various examples based on core syntax and specific features enabling you to configure nginx.

During the course of the book, you will see how modern technology is merged with nginx by detailing an example based on websockets. The starter guide emphasizes optimizing load time through compression and caching of dynamic responses, while highlighting that nginx can seamlessly become part of a productive ecosystem of the software.

Through this book, you will have learned everything you need to control nginx behavior with an understanding over the tools to debug problems and execute plans.

What you will learn from this book

  • Gzipping and pre-gzipping responses and files
  • How to use WebSockets in nginx
  • Different methods of caching data in nginx
  • How to setup performant secure downloads with backend authentication
  • How to perform GeoIP lookups and provide the data to your backend.
  • How to use nginx for pseudo-streaming mp4 and flv video.

Approach

Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks.This book is written in practical Starter style with lots of helpful examples which will guide you gently into the world of nginx.

Who this book is written for

This book is targeted at those people who are new to nginx and want to learn the intricacies of nginx web server. The book assumes that the readers have basic knowledge of Linux and backends such as PHP, Apache, Ruby, and Python.

商品描述(中文翻譯)

以專注的指南實現nginx的巧妙功能

概述
- 在瞬間學到新知識!一本短小、快速、專注的指南,能立即帶來成果。
- 了解Nginx及其對現代網頁的相關性。
- 安裝Nginx並探索不同的安裝方法。
- 配置和自定義Nginx。
- 熟悉Nginx周圍的社區和人物。

詳細內容
Nginx是一個開源的網頁伺服器和反向代理伺服器,支援HTTP、SMTP、POP3和IMAP協議。它用於使用FastCGI和SCGI處理程序在網路上部署動態HTTP內容,並作為軟體負載平衡器。相較於其他主要的網頁伺服器(如Apache HTTP),Nginx能節省資源,並提供網站訪客更快的載入時間,從而改善使用者體驗。

《Instant Nginx Starter》將向您展示如何安裝和設置Nginx網頁伺服器,並介紹基礎知識,包括了解Nginx模組,以幫助您從Apache遷移,實現高並發性、性能和低記憶體使用率。

《Nginx Starter》全面介紹了配置文件,解釋了不同部分的重要性。然後,本書通過基於核心語法和特定功能的各種示例,引導您進行Nginx的配置。

在本書的過程中,您將看到現代技術如何與Nginx結合,並通過基於WebSockets的示例詳細介紹。這本入門指南強調通過壓縮和緩存動態響應來優化載入時間,同時強調Nginx可以無縫地成為軟體生態系統的一部分。

通過本書,您將學到控制Nginx行為所需的一切,並了解調試問題和執行計劃的工具。

從本書中您將學到的內容
- 對響應和檔案進行Gzip和預先Gzip壓縮
- 如何在Nginx中使用WebSockets
- 在Nginx中緩存數據的不同方法
- 如何設置具有後端驗證的高效安全下載
- 如何進行GeoIP查找並將數據提供給後端
- 如何使用Nginx進行偽流式傳輸的mp4和flv視頻

方法
- 瞭解一項新技術,了解它是什麼以及它對您有什麼用處,然後開始使用最重要的功能和任務。本書以實用的入門風格撰寫,並提供了許多有用的示例,將引導您輕鬆進入Nginx的世界。

本書的讀者
- 本書針對那些對Nginx全新且想要了解Nginx網頁伺服器細節的人群。本書假設讀者具有Linux和後端(如PHP、Apache、Ruby和Python)的基本知識。