Book description
NGINX is one of the most widely used web servers available today, in part because of its capabilities as a load balancer and reverse proxy server for HTTP and other network protocols. The 2019 edition of this popular cookbook provides more than 80 practical recipes to help you set up and use this open source server to solve problems in various use cases.
For professionals who understand modern web architectures, such as n-tier or microservice designs, and common web protocols, including TCP and HTTP, these recipes provide proven solutions for security, software load balancing, and monitoring and maintaining NGINX’s application delivery platform. You’ll also explore advanced features of both NGINX and NGINX Plus, the free and licensed versions of this server.
You’ll find recipes for:
- High-performance load balancing with HTTP, TCP, and UDP
- Traffic management and A/B testing
- Managing programmability and automation with dynamic templating and the NGINX Plus API
- Securing access through encrypted traffic, secure links, HTTP authentication subrequests, and more
- Deploying NGINX to AWS, Azure, and Google cloud-computing services
- Using Docker to deploy containers and microservices
- Debugging and troubleshooting, performance tuning, and practical ops tips
Table of contents
- Foreword
- Preface
- 1. Basics
- 2. High-Performance Load Balancing
- 3. Traffic Management
- 4. Massively Scalable Content Caching
- 5. Programmability and Automation
- 6. Authentication
-
7. Security Controls
- Introduction
- Access Based on IP Address
- Allowing Cross-Origin Resource Sharing
- Client-Side Encryption
- Upstream Encryption
- Securing a Location
- Generating a Secure Link with a Secret
- Securing a Location with an Expire Date
- Generating an Expiring Link
- HTTPS Redirects
- Redirecting to HTTPS where SSL/TLS Is Terminated Before NGINX
- HTTP Strict Transport Security
- Satisfying Any Number of Security Methods
- Dynamic DDoS Mitigation
- 8. HTTP/2
- 9. Sophisticated Media Streaming
-
10. Cloud Deployments
- Introduction
- Auto-Provisioning on AWS
- Routing to NGINX Nodes Without an AWS ELB
- The NLB Sandwich
- Deploying from the AWS Marketplace
- Creating an NGINX Virtual Machine Image on Azure
- Load Balancing Over NGINX Scale Sets on Azure
- Deploying Through the Azure Marketplace
- Deploying to Google Compute Engine
- Creating a Google Compute Image
- Creating a Google App Engine Proxy
- 11. Containers/Microservices
- 12. High-Availability Deployment Modes
- 13. Advanced Activity Monitoring
- 14. Debugging and Troubleshooting with Access Logs, Error Logs, and Request Tracing
- 15. Performance Tuning
- 16. Practical Ops Tips and Conclusion
Product information
- Title: NGINX Cookbook
- Author(s):
- Release date: January 2019
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491968956
You might also like
book
NGINX Cookbook
A practical book on real-world NGINX deployments to get you up and running quickly. About This …
book
NGINX Cookbook
NGINX is one of the most widely used web servers available today, in part because of …
book
NGINX Cookbook, 2nd Edition
NGINX is one of the most widely used web servers available today, in part because of …
book
Mastering NGINX - Second Edition
An in-depth guide to configuring NGINX for your everyday server needs About This Book Get tips, …