万本电子书0元读

万本电子书0元读

顶部广告

NGINX Cookbook电子书

售       价:¥

37人正在读 | 0人评论 9.8

作       者:Tim Butler

出  版  社:Packt Publishing

出版时间:2017-08-31

字       数:27.0万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
A practical book on real-world NGINX deployments to get you up and running quickly. About This Book ? Be the first to immerse yourself in the NGINX 1.9x web server and explore the plethora of advanced features. ? Master the skills of load balancing TCP-based applications and implementing HTTP/2. ? A recipe-based approach book that provides you with up-to-date information on NGINX, allowing you to implement specific use cases immediately. Who This Book Is For This book is aimed at smaller-to-medium developers, who are just getting started with NGINX. It assumes they already understand the basics of how a web server works and how basic networking works. What You Will Learn ? Practical, real-world examples and recipes on how to use NGINX ? Common CMS deployments such as WordPress, Joomla and more ? NGINX configurations for frameworks such as Ruby on Rails, Django and more ? Detailed SSL recipes, including HTTP/2 ? Real world rewrite examples ? Basic web and TCP load balancing configuration ? Bandwidth management and connection limiting ? Detailed NGINX deployment scen+BO377arios with Docker ? Performance tuning and monitoring of your NGINX deployments ? OpenResty deployment guides ? Advanced deployments with NGINX Plus features In Detail NGINX Cookbook covers the basics of configuring NGINX as a web server for use with common web frameworks such as WordPress and Ruby on Rails, through to utilization as a reverse proxy. Designed as a go-to reference guide, this book will give you practical answers based on real-world deployments to get you up and running quickly. Recipes have also been provided for multiple SSL configurations, different logging scenarios, practical rewrites, and multiple load balancing scenarios. Advanced topics include covering bandwidth management, Docker container usage, performance tuning, OpenResty, and the NGINX Plus commercial features. By the time you've read this book, you will be able to adapt and use a wide variety of NGINX implementations to solve any problems you have. Style and approach With practical, real-world examples and recipes on how to use NGINX, this go-to book will remain valid for many years. Included are detailed recipes that solve very specific and sometimes complicated user scenarios with NGINX. Readers will think "Ah, so that's how you do it!" after reading a chapter/sub-chapter. Each scenario in the book is thoroughly tested and validated, especially, when it comes to direct cut and paste code scenarios, where possible, we made test code available so that the reader can instantly see the system in action
目录展开

Title Page

Copyright

NGINX Cookbook

Credits

About the Author

About the Reviewers

www.PacktPub.com

Why subscribe?

Customer Feedback

Preface

What this book covers

What you need for this book

Who this book is for

Sections

Getting ready

How to do it…

How it works…

There's more…

See also

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

Let's Get Started

Introduction

A quick installation guide

How to do it...

Packages – RHEL/CentOS

Packages – Debian/Ubuntu

Compiling from scratch

Debian/Ubuntu

CentOS/RHEL

Testing

How to do it...

There's more...

Configuring NGINX

How to do it...

How it works...

Enabling modules

How to do it...

See also

Deploying a basic site

How to do it...

How it works...

Basic monitoring

How to do it...

How it works...

Real-time statistics

How to do it...

How it works...

See also

Common PHP Scenarios

Introduction

Configuring NGINX for WordPress

Getting ready

How to do it...

How it works...

There's more...

WordPress multisite with NGINX

How to do it...

Subdomains

See also

Running Drupal using NGINX

Getting ready

How to do it...

How it works...

See also

Using NGINX with MediaWiki

Getting ready

How to do it...

See also

Using Magento with NGINX

Getting ready

How to do it...

How it works...

See also

Configuring NGINX for Joomla

Getting ready

How to do it...

See also

Common Frameworks

Introduction

Setting up Django with NGINX

Getting ready

How to do it...

How it works....

See also

Setting up NGINX with Express

Getting ready

How to do it...

How it works....

See also

Running Ruby on Rails with NGINX

Getting ready

How to do it...

How it works...

See also

Easy Flask with NGINX

Getting ready

How to do it...

How it works...

Laravel via NGINX

Getting ready

How to do it...

How it works...

See also

Meteor applications with NGINX

Getting ready

How to do it...

How it works...

High speed Beego with NGINX

Getting ready

How to do it...

All About SSLs

Introduction

Basic SSL certificates

Getting ready

How to do it...

How it works...

Enabling HTTP/2 on NGINX

How to do it...

See also

Configuring HSTS in NGINX

How to do it...

There's more...

Easy SSL certificates with Let's Encrypt

How to do it...

See also

Making NGINX PCI DSS compliant

How to do it...

How it works...

See also

OCSP stapling with NGINX

How to do it...

See also

Achieving full A+ Qualys rating

How to do it...

How it works...

See also

Logging

Introduction

Logging to syslog

How to do it...

Remote syslog

See also

Customizing web access logs

How to do it...

See also

Virtual host log format

How to do it...

Application focused logging

How to do it...

Logging TLS mode and cipher information

How to do it...

Logging POST data

How to do it...

Conditional logging

How to do it...

Using the Elastic Stack

How to do it...

Elasticsearch

Logstash

Kibana

See also

Rewrites

Introduction

Redirecting non-www to www-based sites

How to do it...

How it works...

See also

Redirecting to a new domain

How to do it...

How it works...

There's more...

Blocking malicious user agents

How to do it...

How it works...

There's more...

Redirecting all calls to HTTPS to secure your site

How to do it...

There's more...

See also

Redirecting pages and directories

How to do it...

Single page redirect

Full directory redirect

How it works...

See also

Redirecting 404 errors through a search page

How to do it...

How it works...

Reverse Proxy

Introduction

Configuring NGINX as a simple reverse proxy

Getting ready

How to do it...

How it works...

There's more...

See also

Content caching with NGINX

Getting ready

How to do it...

How it works...

There's more...

See also

Monitoring cache status

Getting ready

How to do it...

How it works...

See also

Microcaching

Getting ready

How to do it...

How it works...

Serving from cache when your backend is down

Getting ready

How to do it...

How it works...

There's more...

See also

SSL termination proxy

Getting ready

How to do it...

See also

Rate limiting

How to do it...

How it works...

There's more...

See also

Load Balancing

Introduction

Basic balancing techniques

Round robin load balancing

Getting ready

How to do it...

How it works...

There's more...

See also

Least connected load balancing

Getting ready

How to do it...

How it works...

Hash-based load balancing

How to do it...

How it works...

There's more...

See also

Testing and debugging NGINX load balancing

Getting ready

How to do it...

There's more...

See also

TCP / application load balancing

How to do it...

How it works...

Easy testing

There's more...

See also

NGINX as an SMTP load balancer

How to do it...

How it works...

There's more...

See also

Advanced Features

Introduction

Authentication with NGINX

Getting ready

How to do it...

How it works...

There's more...

See also

WebDAV with NGINX

Getting ready

How to do it...

How it works...

See also

Bandwidth management with NGINX

Getting ready

How to do it...

How it works...

There's more...

See also

Connection limiting with NGINX

Getting ready

How to do it...

How it works...

There's more...

See also

Header modification with NGINX

Getting ready

How to do it...

Caching static content

Removing server name and version

Extra debug headers

See also

Docker Containers

Introduction

Installing Docker

NGINX web server via Docker

Getting ready

How to do it...

How it works...

There's more...

See also

NGINX reverse proxy via Docker

Getting ready

How to do it...

How it works...

There's more...

See also

Docker Compose with NGINX

Getting ready

How to do it...

How it works...

See also

NGINX load balancing with Docker

Getting ready

How to do it...

How it works...

See also

Performance Tuning

Introduction

Gzipping content in NGINX

Getting ready

How to do it...

How it works...

There's more...

See also

Enhancing NGINX with keep alive

Getting ready

How to do it...

How it works...

See also

Tuning worker processes and connections

Getting ready

How to do it...

Worker processes

Worker connections

There's more...

See also

Fine tuning basic Linux system limits

Getting ready

How to do it...

See also

Integrating ngx_pagespeed

Getting ready

How to do it...

How it works...

There's more...

See also

OpenResty

Introduction

Installing OpenResty

Getting ready

How to do it...

CentOS

Ubuntu

How it works...

See also

Getting started with OpenResty Lua

Getting ready

How to do it...

How it works...

See also

Lua microservices with OpenResty

Getting ready

How to do it...

How it works...

There's more...

See also

Simple hit counter with a Redis backend

Getting ready

How to do it...

How it works...

See also

Powering API Gateways with OpenResty

Getting ready

How to do it...

How it works...

There's more...

See also

NGINX Plus – The Commercial Offering

Introduction

Installing NGINX Plus

Getting ready

How to do it...

CentOS

Ubuntu

See also

Real-time server activity monitoring

Getting ready

How to do it...

How it works...

There's more...

See also

Dynamic config reloading

Getting ready

How to do it...

How it works...

There's more...

See also

Session persistence

Getting ready

How to do it...

Cookie-based tracking

Learn-based tracking

Route-based tracking

How it works...

See also

累计评论(0条) 1个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部