Trying to run Redmine with Caddy
Added by Jean-Claude Wippler over 7 years ago
Hello - I'm trying to get Redmine going with Caddy.
It works if I start Redmine with Webrick and then use Caddy's proxy option. That's how I'm running it right now (with webrick launched manually), although the Ruby 2.3 process does tend to slowly eat up free RAM (at 1.5 GB after one day and growing).
I assume that the "proper" way to do this is through FastCGI, but I don't understand how this is supposed to unfold. Caddy's built-in fastcgi option wants to connect to a TCP or Unix socket, but the dispatch.fcgi example supplied with Redmine appears to assume it'll be launched by the web server ... somehow - and then waits for requests on stdin?
I've asked on the Caddy forum but still don't understand how a server with a FastCGI socket can/should hook up to Redmine's dispatch.fcgi
script.
Any tips/pointers appreciated,
-jcw
Replies (1)
RE: Trying to run Redmine with Caddy - Added by Jean-Claude Wippler over 7 years ago
For lack of a better solution, I'm sticking to Webrick and have added a restart via cron every night:
0 3 * * * /usr/sbin/service redmine restart
It's a horrible hack, but at least it'll prevent the slowly-eating-RAM behaviour from causing trouble.