Heads up! To view this whole video, sign in with your Courses Plus account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
In this workshop, we're going to show you how to set up a reverse proxy between your Rails app and the Internet at large. The proxy will take requests on port 80 (which is the default used by browsers), forward them to your Rails app, and then forward the Rails responses back to the browsers that requested them. We've going to use a high-performance web server called Nginx as our reverse proxy. We'll also set up Unicorn, an HTTP server that will manage connections to your actual Rails app. Unicorn is good for your site's stability and speed.
You need to sign up for Treehouse in order to download course files.
Sign up