Introduction to NGINX

  • Basic

  • 42 lessons

  • 9 hours

image

This course introduces the basics of NGINX, where you'll learn to use it to manage web traffic, optimize performance, and enhance security.

Course overview

NGINX is a powerful and flexible tool used for hosting websites, handling requests, load balancing, and caching.

In this course, you will explore its core principles, learn how to configure virtual hosts, redirects, and request proxying. We will also cover the essential configuration files and directives to help you tailor the server to your needs.

This course is suitable for both beginners and those who have already worked with web servers and want to deepen their knowledge. You will learn how to work with logs, optimize NGINX performance, and protect the server from attacks. Practical examples and step-by-step instructions will help you quickly master NGINX and apply it to real-world projects. 🚀

You will learn
  • Manage application traffic

  • Balance load and cache data

  • Proxy requests between backends

  • Ensure security: SSL, DDoS, HSTS

Table of contents

Meet nginx

Practice

Why do you need NGINX?

Theory

Quiz

Quiz

File structure

Theory

Creating your first config

Practice

Adding a second host

Practice

NGINX management commands

Practice

Quiz

Quiz

Serving static files

Practice

Error handling and the 404 page

Practice

The location directive

Practice

The concept of a reverse proxy

Practice

The proxy_set_header directive

Practice

Buffering

Theory

Quiz

Quiz

The rewrite directive

Practice

RegEx for rewriting URLs

Practice

The pass_request_body directive

Theory

Quiz

Quiz

What is SSL/TLS?

Theory

Quiz

Quiz

Self-signed SSL certificates

Practice

The certbot utility

Theory

The ssl_protocols and ssl_ciphers directives

Practice

HSTS

Practice

Caching principles

Theory

Client-side caching

Practice

Proxy cache (1)

Practice

Proxy cache (2)

Practice

Environment variables

Practice

Access and error logs

Practice

Load balancing

Practice

Load balancing algorithms

Practice

Backend health checks

Practice

Configuring the number of workers

Practice

Configuring worker_connections

Practice

Gzip data compression

Practice

Restricting access by IP

Practice

HTTP Basic Auth

Practice

Protection against DDoS

Practice

The auth_request directive

Theory

Final quiz

Quiz

  • image-loading

  • image-loading

  • image-loading

  • image-loading

Frequently Asked Questions

A subscription to the platform gives you unlimited access to all courses, as well as access to an online trainer with practical exercises.

Additionally, with a Premium subscription or higher, you also get access to all pet projects and the opportunity to take technical interviews with an AI mentor.

You can cancel your subscription at any time, and you will still have access to the platform for the paid period. You can do this through your personal account in the 'Subscription Management' section.

Yes, you can upgrade to a new plan at any time. We will provide a discount based on the unused time of your current plan. You can change your plan in your personal account.

To request a refund for a paid plan, please contact us at support@upshell.io. We will process your refund for the unused portion of your subscription within 5 business days.

Get access to 23+ courses for backenders with Subscription

Get access to *23+ courses* for backenders with *Subscription*
Have an account?