Limit search to available items
Book Cover
Author Kholodkov, Valery, author

Title Nginx essentials : excel in Nginx quickly by learning to use its most essential features in real-life applications / Valery Kholodkov
Published Birmingham, UK : Packt Publishing, 2015


Description 1 online resource (1 volume) : illustrations
Series Community experience distilled
Community experience distilled.
Contents Cover; Copyright; Credits; About the Author; About the Reviewers;; Table of Contents; Preface; Chapter 1: Getting Started with Nginx; Installing Nginx; Installing Nginx on Ubuntu; Alternatives; Installing Nginx on Red Hat Enterprise Linux or CentOS/Scientific Linux; Installing Nginx from source files; Downloading the Nginx source files; Building Nginx; Copying the source code configuration from prebuilt packages; The structure of the Nginx installation; The Nginx configuration folder; The default virtual host folder; The virtual hosts configuration folder; The log folder
The temporary folderConfiguring Nginx; Value types; Variables; Inclusions; Sections; The http section; The server section; The upstream section; The location section; Simple; Exact; Regular expression locations; The if section; The limit_except section; Other section types; Configuration settings' inheritance rules; The First sample configuration; Configuration best practices; Summary; Chapter 2: Managing Nginx; The Nginx connection processing architecture; Starting and stopping Nginx; Control signals and their usage; Fast shutdown; Graceful shutdown; Reconfiguration; Reopening the log file
Nginx binary upgradeGraceful worker shutdown; Finalizing the upgrade procedure; Handling difficult cases; Distribution-specific startup scripts; Allocating worker processes; Setting up Nginx to serve static data; Installing SSL certificates; Creating a Certificate Signing Request; Installing an issued SSL certificate; Permanently redirecting from a nonsecure virtual host; Managing temporary files; Communicating issues to developers; Creating a binary with debugging information; Summary; Chapter 3: Proxying and Caching; Nginx as a reverse proxy; Setting up Nginx as a reverse proxy
Setting the backend the right wayAdding transparency; Handling redirects; Handling cookies; Using SSL; Handling errors; Choosing an outbound IP address; Accelerating downloads; Caching; Configuring caches; Enabling caching; Choosing a cache key; Improving cache efficiency and availability; Handling exceptions and borderline cases; Summary; Chapter 4: Rewrite Engine and Access Control; The basics of the rewrite engine; More about rewrite rules; Patterns; Captures and positional parameters; Other functionalities of the rewrite engine; Assigning variables; Evaluating predicates using if sections
Replying with a specified HTTP status codeAccess control; Restricting access by IP address; Using the geo directive to restrict access by IP address; Using basic authentication for access restriction; Authenticating users with a subrequest; Combining multiple access restriction methods; Summary; Chapter 5: Managing Inbound and Outbound Traffic; Managing inbound traffic; Limiting the request rate; Limiting the number of simultaneous connections; Limiting the transfer rate of a connection; Applying multiple limitations; Managing outbound traffic; Declaring upstream servers
Summary This book is ideal for skilled web masters and site reliability engineers who want to switch to Nginx or solidify their knowledge of Nginx. Knowledge of Unix and webmaster skills are required
Notes Includes index
Online resource; title from cover (Safari, viewed August 4, 2015)
Subject Web servers -- Computer programs.
Web proxy servers -- Computer programs
COMPUTERS. -- Internet -- Application Development.
COMPUTERS. -- Networking -- General.
Web servers -- Computer programs
Form Electronic book
ISBN 9781785280672
Other Titles Excel in Nginx quickly by learning to use its most essential features in real-life applications