Project

General

Profile

Error 500 - Install with Unicorn

Added by Isabela Cristina Teles Terra about 9 years ago

Good morning. I'm Isabela, I'm a new user of readmine. My problem is that I can't install Redmine with Unicorn, I need this because Gitlab is install in same server.. Please I need help. Thank you.


Replies (1)

RE: Error 500 - Install with Unicorn - Added by Martin Denizet (redmine.org team member) about 9 years ago

Hello Isabela,

I rarely used unicorn but here is my understanding:
When you start unicorn, you start it for one Rails instance on one port (probably 80 or 443).
You cannot have another program or unicorn instance listen to the same port.
So basically, if you want Gitlab and Redmine to be both on the same port, you need to configure nginx(or Apache) as a reverse proxy for the unicorn instances.
If you don't need/want them to run on the same port, you should be able to create an unicorn unicorn config for Redmine, however note that I never heard of someone serving Redmine directly with unicorn (no proxy). People will prefer to go through nginx or Apache as a proxy because it gives more configuration options and can handle larger loads.

Cheers,

    (1-1/1)