Forums Redmine

Redmine behind reverse proxy

Subscribe to Redmine behind reverse proxy 4 post(s), 2 voice(s)

 
Avatar skip 5 post(s)

I’ve got a fairly straightforward setup where the redmine server is located behind an Apache reverse proxy so it can’t be accessed directly.

Users connect over SSL which is terminated by the apache proxy, this then forwards the requests to the backend bitnami/redmine apache which handles the rest.

Now all this works just fine except for one annoying thing, but there are a few links on the redmine interface that point to the IP and port of the internal redmine server. The one easiest to replicate is the “jump to a project” drop down, but there are several more.

Does anyone know how I can get these links to work as well?

Thanks
Skip

 
Avatar beltran Administrator 1,936 post(s)

Hi,

BitNami Redmine install an Apache server as a proxy between one or more Mongrel servers. If you configure another external Apache server as a reverse proxy, maybe you can remove the BitNami Apache server and communicate with the Mongrel servers directly. You can copy the Apache configuration server and modify the IP address of your main Apache server.


ProxyPass /redmine balancer://redminecluster
ProxyPassReverse /redmine balancer://redminecluster

<Proxy balancer://redminecluster>
  BalancerMember http:// NEW_IP:3001/redmine
  BalancerMember http:// NEW_IP:3002/redmine
</Proxy>

 
Avatar skip 5 post(s)

Thanks for your reply Beltran, but my colleague had already tried that but couldn’t get that work (not sure why).

But the good news is that i found the solution just minutes after posting the question (after 3 days of gooling).
It appeared to be a config fault in our proxy apache and following this post it does work just fine:

http://raibledesigns.com/rd/entry/apache_2_on_os_x

Thanks for your help though.
Skip

 
Avatar beltran Administrator 1,936 post(s)

I’m glad to hear this.

Forums Redmine