On 5/23/07, Steve Tooke <[EMAIL PROTECTED]> wrote:
> How do you set up the system to handle static files using HAProxy?
> mod_rewrite in apache or similar to front it, as you would with a
> mongrel_cluster?

Yes. The only difference is that you use normal mod_proxy and let
HAProxy do the load balancing.

> Does HAProxy support X-SendFile hearder?

We haven't specifically tested the functionality you are thinking
about (serving large files) with this stack, but HAProxy simply passes
HTTP headers back to the web server.

--
Alex

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to