Web Services: Creating a Proxy Server

15 minutes
  • 2 Learning Objectives

About this Hands-on Lab

Installing and managing services is one of the first things a Linux Server Administrator should learn how to do. Setting up a reverse proxy server can help with balancing the server load throughout your datacenter, increase security by reducing the number of servers exposed to the internet, and reducing the bandwidth used through your datacenter. In this lab, you’ll be able to install, configure, and test a reverse proxy server using Nginx.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Install and Configure Nginx so that it is configured as a reverse proxy for your other server.
  1. Verify the application server is serving data as expected.
  2. Install the nginx software using yum.
  3. Configure the nginx software to reverse proxy.
  4. Verify the service is using your changes by restarting it.
Test the configuration, ensuring pages are served from your second server.
  1. Use curl to verify that the data being output from the application server matches the data being output from the reverse proxy server.
  2. Double-check the data using your web browser to make sure the page renders correctly.

Additional Resources

You have just started working at DadCorp, a new startup providing a subscription service that emails dad jokes to customers. The majority of the data center is web servers containing the sign-up forms.

As part of the infrastructure redesign that DadCorp is going through, they want to have a reverse proxy server set up to handle incoming requests. You've received a ticket to set one up and test it to see how it impacts performance overall.

You've been given two servers - one to set up as a Reverse Proxy, the other already has Apache installed and serve the DadCorp website on port 8080. Set up a reverse proxy server and verify that it's working correctly.

What are Hands-on Labs

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.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?