Comments on Running Redmine Project Management On nginx (Debian Wheezy)
Redmine is a project management tool written in Ruby. This tutorial explains how to serve Redmine with the help of thin (a fast Ruby webserver) through an nginx webserver on Debian Wheezy.
5 Comment(s)
Comments
First and foremost, awesome tutorial!!
Beyond the fixes in the nginx config as noted above, you may have an issue with broken SSL if you are using certain plugins which in my case would be "Redmine Local Avatars".
It seems as if the image links are non-SSL and Firefox will report that the connection to the site is not fully secured. To fix the issue, simply add the line below to your nginx config.
proxy_set_header X-Forwarded_Proto https;
Thank you for this howto. I think you have a typo in chapter 4:
proxy_set_header X-Reak-IP $remote_addr;
Should probably be X-Real-IP
.
Thanks you so much ^^.
Your tutorial is awesome.
Excellent tutorial I've been able to get it setup the way I would like, I'm trying to use tcp sockets instead of file so I've set mine up differently in that aspect, though I can't seem to get it to work.. I'm getting this in my thin logfile, the application doesn't seem to want to work with it.
!! Unexpected error while processing request: uninitialized constant Rack::URLMap::PATH_INFO
It seems to be an issue with thin, because if I start it with webrick then Redmine loads?
redmine@app01:/var/redmine$ bundle exec ruby bin/rails server --binding=0.0.0.0 --port=30000 webrick -e production
=> Booting WEBrick
=> Rails 4.2.1 application starting in production on http://0.0.0.0:30000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[2015-03-29 22:22:54] INFO WEBrick 1.3.1
[2015-03-29 22:22:54] INFO ruby 1.9.3 (2012-04-20) [x86_64-linux]
[2015-03-29 22:22:54] INFO WEBrick::HTTPServer#start: pid=14205 port=30000
Looked on Google for info about the error "uninitialized constant Rack::URLMap::PATH_INFO" no luck :(
Any ideas? :)
will the work with easyredmine? as were having serious with web access aka:http://www.redmine.org/boards/2/topics/10708?r=11519http://www.redmine.org/boards/2/topics/16653, our issues are pratoicaly identical and support from easyredmine is less than optimal.. so far...