Nginx Troubleshooting

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

Nginx Troubleshooting

This ebook is included in a Mapt subscription
Alex Kapranoff

1 customer reviews
Investigate and solve problems with Nginx-powered websites using a deep understanding of the underlying principles
$0.00
$16.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.
 
  • 4,000+ eBooks & Videos
  • 40+ 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