Nginx Tutorial

Nginx is most powerful application for web server, caching reverse proxy, media streaming, load balance and many more.

It was started as web server designed for outstanding stability, scalability, and performance. In addition of HTTP web server, NGINX can help you to build proxy server for email protocols (IMAP, POP3, and SMTP) and load balancer and reverse proxy for internet protocols HTTP, TCP and UDP servers.

Nginx Tutorial

In this NGINX tutorial, you will learn everything about NGINX application, e.g., How to install, configure, and customize the Nginx software for various usages.

While after along with the tutorial, you’re going to be educated on how to use this NGINX tutorial to get the help you while you utilize NGINX. At the finish of the tutorial, you’ll have the experience to configuring NGINX being an internet server, reverse proxy, proxy, and even load balancer additionally knowing how to compile extra modules for extra NGINX configuration to tune for performance scalability and integrate with other tools like Let’s Encrypt for SSL configuration.

NGINX Tutorial Objectives:

Section 01: Introduction

Section 02: Installation

Section 03: Load Balancer

Section 04: Content Caching

Section 05: Web Server

Section 06: Security Controls

Section 07: Monitoring

Section 08: High Availability

Section 09: Dynamic Modules

Section 10: NGINX as a Mail Proxy Server

NGINX Tutorial Detailed Syllabus:

Section 01: Introduction

Introduction

Section 02: Installation

Installing NGINX Open Source
Installing NGINX Plus
Creating NGINX Configuration Files
Controlling NGINX Process at Runtime

Section 03: Load Balancer

HTTP Load Balancing
TCP and UDP Load Balancing
HTTP Health Checks
TCP Health Checks
UDP Health Checks
Configuring Dynamic Load Balancing with the NGINX Plus API
Accepting the PROXY Protocol

Section 04: Content Caching

NGINX Content Caching

Section 05: Web Server

Configuring NGINX Plus as a Web Server
Serving Static Content
NGINX Reverse Proxy
Compression and Decompression
Using NGINX and NGINX Plus as an Application Gateway with uWSGI and Django

Section 06: Security Controls

NGINX SSL Termination
SSL Termination for TCP Upstream Servers
Restricting Access with HTTP Basic Authentication
Authentication Based on Subrequest Result
Setting up JWT Authentication
Limiting Access to Proxied HTTP Resources
Restricting Access to Proxied TCP Resources
Restricting Access by Geographical Location
Securing HTTP Traffic to Upstream Servers
Securing TCP Traffic to Upstream Servers
Dynamic Blacklisting of IP Addresses

Section 07: Monitoring

Live Activity Monitoring
Configuring Logging
Debugging NGINX
Monitoring NGINX and NGINX Plus with the New Relic Plug-In

Section 08: High Availability

High Availability Support for NGINX Plus in On-Premises Deployments
Configuring Active-Active High Availability and Additional Passive Nodes with keepalived
Synchronizing NGINX Configuration in a Cluster
Runtime State Sharing in a Cluster

Section 09: Dynamic Modules

Dynamic Modules

Section 10: NGINX as a Mail Proxy Server

Configure NGINX as a Mail Proxy Server

Related Articles