Nginx Troubleshooting

Investigate and solve problems with Nginx-powered websites using a deep understanding of the underlying principles

Nginx Troubleshooting

Alex Kapranoff

1 customer reviews
Investigate and solve problems with Nginx-powered websites using a deep understanding of the underlying principles
Mapt Subscription
FREE
$29.99/m after trial
eBook
$4.80
RRP $23.99
Save 79%
Print + eBook
$29.99
RRP $29.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$4.80
$29.99
$29.99p/m after trial
RRP $23.99
RRP $29.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Code Files
Preview in Mapt

Book Details

ISBN 139781785288654
Paperback172 pages

Book Description

Nginx is clearly winning the race to be the dominant software to power modern websites. It is fast and open source, maintained with passion by a brilliant team. This book will help you maintain your Nginx instances in a healthy and predictable state.

It will lead you through all the types of problems you might encounter as a web administrator, with a special focus on performance and migration from older software.

You will learn how to write good configuration files and will get good insights into Nginx logs. It will provide you solutions to problems such as missing or broken functionality and also show you how to tackle performance issues with the Nginx server. A special chapter is devoted to the art of prevention, that is, monitoring and alerting services you may use to detect problems before they manifest themselves on a big scale. The books ends with a reference to error and warning messages Nginx could emit to help you during incident investigations.

Table of Contents

Chapter 1: Searching for Problems in Nginx Configuration
Introducing basic configuration syntax, directives, and testing
Testing Nginx configuration
Common mistakes in configuration
Summary
Chapter 2: Searching for Problems in Log Files
Configuring Nginx logging
Creating infrastructure around logs
Summary
Chapter 3: Troubleshooting Functionality
Processing a complain
Summary
Chapter 4: Optimizing Website Performance
Why Nginx is so fast?
Optimizing individual upstreams
Using thread pools in Nginx
The caching layer of Nginx
Replacing external redirects with internal ones
Summary
Chapter 5: Troubleshooting Rare Specific Problems
Security warnings
Solving problems with cache
Obsolete pages and VirtualBox
Apache migration problems
Solving problems with WebSockets
Showing a file upload progress bar
Solving the problem of an idle upstream
Summary
Chapter 6: Monitoring Nginx
Using ngxtop
Getting statistics from http_stub_status
Monitoring Nginx with Munin
Configuring alerts
Getting more status data from Nginx
Using Nginx Plus alternatives
Summary
Chapter 7: Going Forward with Nginx
System administration
Software development
Summary

What You Will Learn

  • Detect and investigate problems with your web servers
  • Create correct and professional configuration files
  • Get an in-depth understanding of the web server software
  • Interpret Nginx log files easily and with actionable insights
  • Make your websites respond as fast as possible
  • Prevent problems by setting up proper monitoring and alerts

Authors

Table of Contents

Chapter 1: Searching for Problems in Nginx Configuration
Introducing basic configuration syntax, directives, and testing
Testing Nginx configuration
Common mistakes in configuration
Summary
Chapter 2: Searching for Problems in Log Files
Configuring Nginx logging
Creating infrastructure around logs
Summary
Chapter 3: Troubleshooting Functionality
Processing a complain
Summary
Chapter 4: Optimizing Website Performance
Why Nginx is so fast?
Optimizing individual upstreams
Using thread pools in Nginx
The caching layer of Nginx
Replacing external redirects with internal ones
Summary
Chapter 5: Troubleshooting Rare Specific Problems
Security warnings
Solving problems with cache
Obsolete pages and VirtualBox
Apache migration problems
Solving problems with WebSockets
Showing a file upload progress bar
Solving the problem of an idle upstream
Summary
Chapter 6: Monitoring Nginx
Using ngxtop
Getting statistics from http_stub_status
Monitoring Nginx with Munin
Configuring alerts
Getting more status data from Nginx
Using Nginx Plus alternatives
Summary
Chapter 7: Going Forward with Nginx
System administration
Software development
Summary

Book Details

ISBN 139781785288654
Paperback172 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Mastering Nginx Book Cover
Mastering Nginx
$ 26.99
$ 18.90
Learning Docker Book Cover
Learning Docker
$ 39.99
$ 8.00
Git Version Control Cookbook Book Cover
Git Version Control Cookbook
$ 26.99
$ 18.90
DevOps Automation Cookbook Book Cover
DevOps Automation Cookbook
$ 35.99
$ 25.20
Mastering Docker Book Cover
Mastering Docker
$ 39.99
$ 28.00
Docker Cookbook Book Cover
Docker Cookbook
$ 35.99
$ 25.20