- Lab
- A Cloud Guru
Using NGINX as a Reverse Proxy for an Application and Blog
NGINX is useful beyond simply serving static content and works wonderfully as a reverse proxy in front of other backend services. In this activity, the student will set up NGINX as a reverse proxy for a simple web application and a WordPress blog. Being able to configure NGINX for use with a variety of application types allows you to use the right tool for the job (WordPress for blogging in this case) and provide a lot of business value.
Path Info
Table of Contents
-
Challenge
Serve WordPress Content for blog.example.com
The student is asked to route traffic from blog.example.com to the locally installed WordPress application. PHP-FPM is listening on the socket at
/var/run/php-fpm.sock
and is the recommended FastCGI proxy destination. -
Challenge
Proxy Requests to Web Application for example.com
Requests for example.com should all be routed to the web application listening on port 8000.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
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.