Implement and Manage NGINX
In this lab, you'll practice using NGINX. When you're finished, you'll know how to configure NGINX to serve static websites and as a reverse proxy to backend web servers.
Terms and conditions apply.
Lab info
Lab author
Challenge
Get Started in the Lab Environment
Here are the initial instructions and explanation of the lab environment. Read this while your environment is busy creating itself from nothing. Yes, this violates physics; we know. How fun!
Challenge
Run NGINX
NGINX is already installed! Now, it's time for you to get its service started and verify it's working. As well, you will explore the default configuration and process architecture.
Challenge
Host a Static Website
Now that you have located the config files, you can modify them to customize what NGINX serves. You'll swap out the Welcome page for a static website with the nginx.org website and documentation!
Challenge
Run a Reverse Proxy
NGINX is well known for its ability to route traffic to backend servers. In addition to serving files directly, you'll configure NGINX to proxy requests to a separate backend HTTP server!
Challenge
Secure Traffic with TLS/HTTPS
One popular use of NGINX as a proxy is to secure traffic with encryption. This is known as TLS Termination. You'll configure NGINX to support HTTPS for incoming and outgoing traffic. NGINX will strip the encryption, and proxy plaintext HTTP to the backend.
Challenge
Rewrite Requests and Responses
TLS Termination is just one way NGINX can manipulate traffic. You will learn how to modify both requests and responses with a variety of directives.
Challenge
The Last Challenge
Welcome to the final challenge! This is your last chance to experiment in the environment. Clicking Finish Lab will end this little world that flittered into existence just for you.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.
Recommended prerequisites
- A rudimentary understanding of hosting websites (HTTP) and client/server architectures.
- Running commands in a linux environment, on the command line, and via the Desktop
- Using Visual Studio Code