Ruby-on-Rails

Secure Application Deployment with Ruby on Rails

In this third part of a five-part series on deploying an ecommerce application with Ruby on Rails, you will learn how to configure access to the application so that it is properly secured, and more. This article is excerpted from chapter 12 of the book Practical Rails Projects, written by Eldon Alameda (Apress; ISBN: 1590597818).

Scaling horizontally, by adding more application servers to your environment, is easy with FastCGI—just install the new machines and add them to the list.

The FastCGI processes are started by thespawnerscript located in thescript/processdirectory. We will show you how to manage FastCGI processes later in this chapter, in the sections about manual and automated deployment.