I'm a big fan of using config.ru to mount my rack apps next to my rails app where it's useful as well.
I've only used it when taking a path and routing to that, so if need to work by domain, then a separate unicorn instance is probably the go. A. On 30/04/2013, at 5:20 PM, Ben Hoskings <[email protected]> wrote: > We run two production rack/sinatra apps at TC. I recommend nginx + unicorn. > > This is how I do it (it's badly named; it's not rails-specific): > https://github.com/conversation/babushka-deps/blob/master/rails.rb#L1-L4 > > - Ben > > > > On 1 May 2013 10:00, Steve H <[email protected]> wrote: > I've had good luck with Unicorn. I use it with nginx but Apache will work > equally well, as you just reverse proxy a port or unix socket. > > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/rails-oceania?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > Cheers > Ben > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/rails-oceania?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/rails-oceania?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
