redmine + rails + nginx

Harald Lapp harald.lapp at
Tue Apr 28 12:12:07 MSD 2009


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:

exec 2>&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

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!


More information about the nginx mailing list