Learn to install, configure and tweak NGINX to create secure, high performance web servers from scratch.
Build a strong foundation in NGINX with this practical course suited to both beginners and the more experienced.
Learn to customise the NGINX installation
Configure NGINX as a web server
Install & configure a server-side programming language as an NGINX backend
Learn to tweak NGINX for optimal performance
Secure NGINX with some security best practises
Learn to install, configure and tweak NGINX to create secure, high performance web servers from scratch.
Build a strong foundation in NGINX with this practical course suited to both beginners and the more experienced.
Learn to customise the NGINX installation
Configure NGINX as a web server
Install & configure a server-side programming language as an NGINX backend
Learn to tweak NGINX for optimal performance
Secure NGINX with some security best practises
An invaluable skill for any techie or developer in the web industry
NGINX is the fastest growing and most popular web server for a reason, so understanding it will be an invaluable skill to anyone working in the web industry, specially network admins & web developers.
This course will provide a very practical and concise approach to learning NGINX and will give you a solid base to immediately start creating secure, high performance web servers.
Content and Overview
With 39 concise and practical lectures, this course aims to teach a solid foundational understanding of NGINX and is suitable for anyone with a basic understanding of networking and the linux command line interface.
The course starts by looking at the differences between NGINX and Apache for those with Apache experience and then explains the different ways of installing NGINX, customising your install, and configuring NGINX as a service.
The installation section also covers updating NGINX without downtime and adding/removing modules.
The bulk of the course is then focussed on configuring NGINX as a web server, including connecting it to a PHP backend and configuring some of NGINX's best features, such as Gzipping and GeoIP.
The final section will go over securing the server and the user via SSL and other security best practices.
Upon completion of this course you will have the practical skills to immediately start building secure, high performance web servers or improve and better understand existing hosting solutions you might work with.
This course is to the point and everything is demonstrated in the most simple, yet practical ways.
We do not focus on the theory, but get straight to installing, configuring and learning.
What to expect from this course.
A quick look at NGINX's backstory and basic architecture.
Apache has been the go to web server for years, and many students will be familiar with it, this video explain just how NGINX differs from Apache and the pros and cons of each, including:
An overview of the lesson structure:
Learn the most basic way to install and start NGINX, using a package manager such as apt-get or yum.
How to configure and compile a customised NGINX install from source:
Learn to add a custom NGINX install as a systemd service, for easier process management.
An overview of why this course excludes Windows
Understand NGINX configuration terminology, like context and directive, in order to follow along and make use of the NGINX documentation.
Learn to configure the most basic static file server.
Learn to configure location blocks (contexts):
Use NGINX variables & conditionals:
Understand the difference between redirects & rewrites and how rewritten URIs are re-evaluated.
Learn how the try_files directive works in detail.
Includes:
Fine tune error & access logs for better debugging and optimised performance.
Understand different types of directives and how inheritance applies to each:
Learn to install and configure a standalone server-side language processor (PHP-FPM)
Configure NGINX worker processes and file limits to match server capabilities.
An overview of key buffer & timeout directives:
Learn to safely rebuild NGINX with the current build configuration whilst adding new modules:
Configure resource-specific Expires Headers to help improve client-side performance and reduce server load.
Learn how to enable and configure Gzipping of static resources, drastically reducing server to client transfer data.
Improve dynamic language responses by enabling server-side caching.
Includes:
Add the HTTP2 module:
Learn to implement a very basic server push using HTTP2.
Fine-tune the SSL configuration by adding:
Learn to configure NGINX rate limiting:
Secure specific parts of the server via username & password authentication.
Learn to use apache-utils to generate a password file and configure NGINX to secure requests to specific URIs.
Some best practises for securing an NGINX server, including:
A supplementary lesson on using Lets Encrypt on NGINX to generate free SSL certificates.
This lesson covers:
An overview of some changes to the lessons' format and tools used to test reverse proxying and load balancing.
Learn to implement reverse proxying in NGINX as a feature in of itself rather than only to support a backend.
An introduction to understanding the basic concept of load balancing and a default round-robin implementation of NGINX as a load balancer.
Learn to customise an NGINX load balancer by means of ip hashing or connection-based load balancing.
See where to find the best Nginx resources, references and further learning. Also covers the standard Nginx documentation structure.
An outro consisting of:
Expected course updates & additions
Course Feedback & Suggestions
Links to more Stackacademy.tv Courses
Learn to add a custom NGINX install as an init service, for easier process management.
NOTE: Lesson deprecated in favour of systemd services
Set up geo location data on the server. This video teaches how to:
NOTE: The referenced Geo Data is no longer free. This lesson has therefore been deprecated, but remains here for reference.
Looks at configuring the MP4 module for Nginx. This includes setting streaming limits and using pseudo streaming.
Old Lesson: Archived for Reference Only
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.