
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.
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.
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.
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 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.
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.
Learn to install WordPress via WP-CLI, including downloading WordPress, creating a wp-config.php, setting database details, and running wp core install to set up the site.
Learn to manage WordPress themes and plugins with WP-CLI: list, install, activate, and delete themes and plugins, then verify by logging into the WordPress admin dashboard.
Create a folder for the certificate and key, generate a private key and certificate with openssl, configure nginx with ssl_certificate and ssl_certificate_key paths, reload nginx, and verify the self-signed certificate.
Learn how to password protect a directory in nginx using htpasswd, configure basic authentication with a user file, and verify access to a protected wp-admin area.
Learn how to configure allow and deny directives in nginx, modify the default configuration, and apply IP-based access controls to protect the wp-admin directory.
Learn to automate nginx tasks by creating a custom alias to reload nginx with one command, and build a script to update WordPress themes and plugins, then schedule it regularly.
Monitor Nginx in real time using ngxtop to view live request counts, top IP addresses, and 4xx error responses, while generating traffic to see 404s.
Configure custom log formats in Nginx by editing the configuration file to capture the client ip and status code, set the access log path, and monitor logs in real time.
Move a local WordPress site to a live server with the All-in-One WP Migration plugin; export, download, and import to mirror the local site.
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.