Welcome! Log In Create A New Profile

Advanced

redmine + rails + nginx

April 28, 2009 04:12AM
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>&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
Subject Author Posted

redmine + rails + nginx

aurora April 28, 2009 04:12AM

Re: redmine + rails + nginx

edogawaconan April 28, 2009 11:00AM

Re: redmine + rails + nginx

Guy Naor April 28, 2009 11:36AM

Re: redmine + rails + nginx

edogawaconan April 28, 2009 01:21PM

Re: redmine + rails + nginx

Guy Naor April 28, 2009 01:41PM

Re: redmine + rails + nginx

edogawaconan April 29, 2009 02:20AM

Re: redmine + rails + nginx

Guy Naor April 29, 2009 11:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 170
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready