0%

Book Description

Alongside its popular web server, NGINX provides a dynamic application server that supports a RESTful JSON API. The open source NGINX Unit server deploys configuration changes without service disruptions and runs apps built with multiple languages and frameworks. This updated cookbook shows developers, DevOps personnel, network admins, and cloud infrastructure pros how to quickly get started with NGINX Unit.

Hands-on recipes demonstrate Unit’s new approach and show you how to deploy and configure this server for different applications. You’ll learn how to run applications written in different languages on the same server, how to use NGINX Unit as the foundation for your web application development environment, and how Unit’s RESTful API simplifies configuration.

  • Learn how Unit differs from other middleware application servers
  • Install Unit using source code, Red Hat and Debian systems, or third-party repositories
  • Configure Unit using application, router, and listener objects
  • Start and stop the Unit server and the applications it runs
  • Manage user permissions, Linux namespace isolation, and API security
  • Run WordPress, Django, and other web applications with Unit
  • Serve applications with an NGINX proxy or load balancer

Table of Contents

  1. NGINX
  2. Preface
    1. Conventions Used in This Book
    2. Using Code Examples
    3. O’Reilly Online Learning
    4. How to Contact Us
    5. Acknowledgments
  3. 1. Unit Introduction and Features
    1. 1.1. Application Landscape and Unit Project History
    2. 1.2. Dynamic Web Application Server
    3. 1.3. Polyglotism
    4. 1.4. API-Driven Configuration and Server Management
    5. 1.5. Conclusion
  4. 2. Installation
    1. 2.1. Red Hat–Based Systems (.rpm)
    2. 2.2. Debian-Based Systems (.deb)
    3. 2.3. Go and NPM
    4. 2.4. Third-Party Repositories
    5. 2.5. Installing from Source
  5. 3. Configuration
    1. 3.1. Application Object
    2. 3.2. Listener Object
    3. 3.3. Route Object
    4. 3.4. Proxying
    5. 3.5. Static Files
    6. 3.6. Upstreams/Load Balancing
    7. 3.7. Targets
  6. 4. Usage and Operations
    1. 4.1. Startup and Shutdown
    2. 4.2. Applying Configuration
    3. 4.3. Limits
  7. 5. Security
    1. 5.1. Unix User Permissions
    2. 5.2. Linux Namespace Isolation
    3. 5.3. API Security Through Encryption
  8. 6. Application Integration
    1. 6.1. WordPress
    2. 6.2. Django
    3. 6.3. Flask
    4. 6.4. Express
    5. 6.5. Ruby
  9. 7. Ecosystem Integration
    1. 7.1. Reverse Proxying to Unit Applications Through NGINX
    2. 7.2. Securely Serving the NGINX Unit Control API
    3. 7.3. Containerized Environment
    4. 7.4. Deployments
    5. Conclusion
  10. Index
3.138.101.95