Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
NGINX Web Server from Scratch
Rating: 4.3 out of 5(425 ratings)
52,732 students
Last updated 2/2025
English

What you'll learn

  • How to Host Multiple Sites
  • Configure Nginx as a Load Balancer
  • Limit HTTP Bandwidth
  • Install and Manage WordPress Using WP-CLI
  • Configure HTTPS with a SSL Certificate
  • How to Password Protect a Directory
  • Expose Local Web Server to Internet using Ngrok
  • Set Up Custom Error Page & Log Formats
  • Protect Against Brute Force Logins with Fail2Ban
  • Moving a WordPress Localhost Site to a Live Server

Course content

7 sections22 lectures47m total length
  • Course Introduction1:43

    Master nginx from scratch by starting the server, hosting multiple sites, and configuring load balancing. Secure with SSL, WordPress via the command line interface, fail2ban, bandwidth limits, and stress testing.

  • Introduction to Nginx1:42
  • How to Install Nginx on Ubuntu1:14
  • Set up Basic Website with Nginx2:23
  • How to Host Multiple Sites3:25

    Learn to host multiple sites on Nginx by creating site folders, configuring server blocks, enabling sites, reloading Nginx, and pointing domains to the server IP.

  • How to Configure Nginx as a Load Balancer3:04

    Configure Nginx as a load balancer by defining an upstream named backup that points to two local servers, reload Nginx, and verify load balancing by refreshing the browser.

  • How to Limit HTTP Bandwidth2:10

    Learn to limit http bandwidth in nginx by applying limit_rate to a location. Test with wget and adjust from 100 kb/s to 500 kb/s after reloading nginx.

  • Configure Nginx to Work With PHP1:52

    Configure nginx to use bhb for dynamic content by creating index.bhb, installing FPM, editing the default config to enable index.bhb and CGI passes, then reload and verify in the browser.

  • Create a Database in MySQL1:55

    Learn to set up a MySQL or MariaDB database for WordPress or other web apps by creating a database, adding a user with privileges, and verifying the user and password.

Requirements

  • Basic computer knowledge.
  • Desire to learn.

Description

In this course I will show you how to quickly and easily master NGINX.

NGINX is now considered the most powerful, efficient, and secure web server used to host web applications of all sizes and complexity. It assists over 40% of the world’s busiest websites in delivering content more rapidly to its users.

It is recognized for its rich feature set, high stability, easy configuration, low resource consumption, and performance.


This course will provide a very practical and easy approach to learning NGINX and will give you a strong knowledge to start creating secure, high performance web servers.

I do not focus on the theory, but get straight to the point, so you'll learn the best way to master new skills in the shortest amount of time.


This course covers:

  • How to Install Nginx on Ubuntu

  • Set Up Basic Website with Nginx

  • How to Host Multiple Sites

  • Configure Nginx as a Load Balancer

  • Configure Nginx to Work With PHP

  • Limit HTTP Bandwidth

  • Create a Database in MySQL

  • Install and Manage WordPress Using WP-CLI

  • Configure HTTPS with a SSL Certificate

  • How to Password Protect a Directory

  • Expose Local Web server to Internet using Ngrok

  • Set Up Custom Error Page & Log Formats

  • How to Use ApacheBench for Server Performance Testing

  • Protect Against Brute Force Logins with Fail2Ban

  • Moving a WordPress Localhost Site to a Live Server

By the time you've completed this course, you’ll be able to implement the most common use cases for NGINX in a secure, scalable way.

Who this course is for:

  • For everyone who wants to learn NGINX.