<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Or if you are more adventurous try the new mod_rails for nginx. My
tests show it to be stable and fast, and though my production sites use
mongrel, it is sure easier to manage mod_rails.<br>
<br>
Guy. <br>
<br>
Edho P Arief wrote:
<blockquote
 cite="mid:a3780c060904280800s45031961p15198592843bea0@mail.gmail.com"
 type="cite">
  <pre wrap="">On Tue, Apr 28, 2009 at 3:12 PM, Harald Lapp <a class="moz-txt-link-rfc2396E" href="mailto:harald.lapp@gmail.com">&lt;harald.lapp@gmail.com&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">hello,

i'm currently using nginx as proxy for webrick running redmine. i'm
not very happy with this, i would like to run redmine using fastcgi
with nginx (without proxying to webrick, mongrel, etc.). however, as
i'm new to nginx and not very familiar with ruby/rails, i could need
some help.

this is my script for spawning the dispatch.fcgi from redmine:

#!/bin/bash
exec 2&gt;&amp;1

export RAILS_ENV=production
export LANG=en_US.UTF-8

exec /usr/local/bin/spawn-fcgi -p 9001 -u www-data -g www-data -f
/usr/local/redmine/public/dispatch.fcgi

however ... i don't have a clue how to configure nginx fastCGI for
redmine/ruby/rails for this spawned process. i've tried different
things, but all result in a "500 -- internal server error".

any help is very appreciated!

regards,
harald


    </pre>
  </blockquote>
  <pre wrap=""><!---->
config please?

why are you avoiding mongrel - the performance is much better than
webrick and it's pretty easy to manage (using mongrel_cluster)?

  </pre>
</blockquote>
<br>
</body>
</html>