Home arrow Ruby-on-Rails arrow Page 3 - Secure Application Deployment with 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).

Author Info:
By: Apress Publishing
Rating: 5 stars5 stars5 stars5 stars5 stars / 5
August 09, 2010
  1. · Secure Application Deployment with Ruby on Rails
  2. · SSL Configuration
  3. · FastCGI Module Configuration
  4. · Creating the Production Database

print this article

Secure Application Deployment with Ruby on Rails - FastCGI Module Configuration
(Page 3 of 4 )

In the configuration file (Listing 12-1), the FastCGI module is configured to proxy requests to four FastCGI processes running on different ports on the same machine as the web server, as shown here:

fastcgi.server = ( ".fcgi" =>
( "emporium-7000" => ( "host" => "", "port" => 7000 ) ),
( "emporium-7001" => ( "host" => "", "port" => 7001 ) ),
( "emporium-7002" => ( "host" => "", "port" => 7002 ) ),
( "emporium-7002" => ( "host" => "", "port" => 7002 ) )

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.

blog comments powered by Disqus

- Ruby-on-Rails Faces Second Security Flaw in ...
- Ruby 2.0 Prepped for February 2013 Release
- Why LinkedIn Switched from Ruby on Rails
- Adding Style with Action Pack
- Handling HTML in Templates with Action Pack
- Filters, Controllers and Helpers in Action P...
- Action Pack and Controller Filters
- Action Pack Categories and Events
- Logging Out, Events and Templates with Actio...
- Action Pack Sessions and Architecture
- More on Action Pack Partial Templates
- Action Pack Partial Templates
- Displaying Error Messages with the Action Pa...
- Action Pack Request Parameters
- Creating an Action Pack Registration Form

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials