Make the most of your infrastructure and serve pages faster than ever with Nginx.
Key Features Discover possible interactions between Nginx and Apache to get the best of both worlds Learn to exploit the features offered by Nginx for your web applications Get your hands on the most updated version of Nginx (1.13.2) to support all your web administration requirements
Book Description Nginx is a lightweight HTTP server designed for high-traffic websites, with network scalability as the primary objective. With the advent of high-speed internet access, short loading times and fast transfer rates have become a necessity.
This book is a detailed guide to setting up Nginx in ways that correspond to actual production situations: as a standalone server, as a reverse proxy, interacting with applications via FastCGI, and more. In addition, this complete direct reference will be indispensable at all stages of the configuration and maintenance processes. This book mainly targets the most recent version of Nginx (1.13.2) and focuses on all the new additions and improvements, such as support for HTTP/2, improved dynamic modules, security enhancements, and support for multiple SSL certificates. This book is the perfect companion for both Nginx beginners and experienced administrators. For beginners, it will take you through the complete process of setting up this lightweight HTTP server on your system and configuring its various modules so that it does exactly what you need quickly and securely. For more experienced administrators, this book provides different approaches that can help you make the most of your current infrastructure.
Nginx can be employed in many situations, whether you are looking to construct an entirely new web-serving architecture or simply want to integrate an efficient tool to optimize your site loading speeds.
What you will learn Download and install Nginx on your system Prepare a basic configuration and test your initial setup Discover the core functionality of the HTTP module Make the most of first- and third-party Nginx modules Set up Nginx to work with PHP, Python, and other applications Learn how to set up Nginx to work with Apache Fully replace Apache with Nginx Optimize your architecture with threads or load balancing Identify errors in configuration and learn basic troubleshooting techniques Consult the exhaustive directive and module index for reference
Who This Book Is For This book is a perfect match to web administrators who are interested in solutions to optimize their infrastructure. Whether you are looking into replacing your existing web server software or integrating a new tool to cooperate with applications that are already up and running, this book is your ideal resource.
Table of Contents Downloading and Installing Nginx Basic Nginx Configuration HTTP Configuration Module Configuration PHP and Python with Nginx Nginx as a reverse proxy Apache and Nginx Together From Apache to Nginx Introduction to load balancing and optimization Case studies Troubleshooting