Setting up Rails for Virtual Hosting?

Carl Youngblood carl at youngbloods.org
Mon Apr 28 15:53:56 MDT 2008


What about simply serving them with Apache?  I assume that static
content would be nearly equally fast on all web servers.  Wrong?

On Wed, Apr 23, 2008 at 11:16 AM, Kurt Griffiths
<kurt.griffiths at gmail.com> wrote:
> One more note - even if you use Passenger + Apache (because it *is* lovely)
>  for the rails app, you will still see significant performance benefits by
>  serving your static content (images, css, cached items) via Nginx.
>
>
>
>  On 4/23/08, Kurt Griffiths <kurt.griffiths at gmail.com> wrote:
>  >
>  > I would highly recommend that you try Nginx. It is significantly faster
>  > than the other common servers we have tested at Sebo, both as a proxy and
>  > for serving static content directly.
>  >
>  > On 4/23/08, Steve Morrey <lists at itconsultingplus.com> wrote:
>  > >
>  > > <SNIP>
>  > > On Tue, Apr 22, 2008 at 4:03 PM, Carl Youngblood <carl at youngbloods.org>
>  > > wrote:
>  > >
>  > > Those instructions are quite old.  I would not recommend using
>  > > lighttpd.  Until recently, the setup of choice was to use some kind of
>  > > software-based load balancer (such as mod_proxy_balancer) in front of
>  > > a few mongrel instances, but now there is an easier way.  There is a
>  > > new apache module called passenger that is very easy to set up:
>  > >
>  > > http://www.modrails.com/
>  > >
>  > > </SNIP>
>  > >
>  > > Holy mother of pearl!
>  > > Thats awesome Carl, thanks!
>  > >
>  > >
>  > > Sincerely,
>  > > Steve
>  > >
>  > > /*
>  > > PLUG: http://plug.org, #utah on irc.freenode.net
>  > > Unsubscribe: http://plug.org/mailman/options/plug
>  > > Don't fear the penguin.
>  > > */
>  > >
>  >
>  >
>  >
>  > --
>  > Kurt
>
>
>
>
>  --
>  Kurt
>
>  /*
>  PLUG: http://plug.org, #utah on irc.freenode.net
>  Unsubscribe: http://plug.org/mailman/options/plug
>  Don't fear the penguin.
>  */
>



More information about the PLUG mailing list