Preface

The NGINX Unit Cookbook aims to provide a reference for using NGINX Unit through practical real-world examples. Throughout this book, you will learn about NGINX Unit, its features, and where it fits in your system architecture. This guide will provide you with the knowledge to effectively use NGINX Unit and simplify your system architecture by using a single middleware server for a wide range of web application use cases.

This book will be most useful for system engineers, architects, and those in a DevOps role, whose position is focused on web application delivery, deployment, and security. A background in web application hosting and the HTTP protocol will help readers understand the concepts contained in this book.

Chapter 1 will explain the what and why of NGINX Unit, in a traditional report form, before transitioning to the how, in a cookbook format, for the rest of the book. The main focus areas will be installation of NGINX Unit, its configuration API, serving applications and routing requests, security and application isolation, and integration with common web languages and ecosystems.

I personally believe in NGINX Unit and have begun using it in my own web system architectures because of its versatility and simple minimalistic configuration. NGINX Unit enables me to deploy web application environments for a wide variety of use cases and language ecosystems effectively with a common middleware server. My hope is that the information in this book will empower you to do the same.

Conventions Used in This Book

The following typographical conventions are used in this book:

Italic

Indicates new terms, URLs, email addresses, filenames, and file extensions.

Constant width

Used for program listings, as well as within paragraphs to refer to program elements such as variable or function names, databases, data types, environment variables, statements, and keywords.

Warning

This element indicates a warning or caution.

Using Code Examples

Supplemental material (code examples, exercises, etc.) is available for download at https://github.com/dejonghe/nginx_unit_examples/tree/master/2020.

If you have a technical question or a problem using the code examples, please send email to .

This book is here to help you get your job done. In general, if example code is offered with this book, you may use it in your programs and documentation. You do not need to contact us for permission unless you’re reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing examples from O’Reilly books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your product’s documentation does require permission.

We appreciate, but generally do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN. For example: “NGINX Unit Cookbook by Derek DeJonghe (O’Reilly). Copyright 2020 O’Reilly Media, Inc., 978-1-492-08723-6.”

If you feel your use of code examples falls outside fair use or the permission given above, feel free to contact us at .

O’Reilly Online Learning

Note

For more than 40 years, O’Reilly Media has provided technology and business training, knowledge, and insight to help companies succeed.

Our unique network of experts and innovators share their knowledge and expertise through books, articles, and our online learning platform. O’Reilly’s online learning platform gives you on-demand access to live training courses, in-depth learning paths, interactive coding environments, and a vast collection of text and video from O’Reilly and 200+ other publishers. For more information, visit http://oreilly.com.

How to Contact Us

Please address comments and questions concerning this book to the publisher:

  • O’Reilly Media, Inc.
  • 1005 Gravenstein Highway North
  • Sebastopol, CA 95472
  • 800-998-9938 (in the United States or Canada)
  • 707-829-0515 (international or local)
  • 707-829-0104 (fax)

We have a web page for this book, where we list errata, examples, and any additional information. You can access this page at https://oreil.ly/NGINX-unit-cookbook.

Email to comment or ask technical questions about this book.

For news and information about our books and courses, visit http://oreilly.com.

Find us on Facebook: http://facebook.com/oreilly

Follow us on Twitter: http://twitter.com/oreillymedia

Watch us on YouTube: http://youtube.com/oreillymedia

Acknowledgments

Special thanks to Ryan Tasson and Artem Konev for their detailed reviews and feedback.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.175.180