This forum is no longer active. Please post your questions to our new community site

Forums Redmine

Redmine behind reverse proxy

Subscribe to Redmine behind reverse proxy 6 post(s), 3 voice(s)

 
Avatar skip 10 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 Beltrán Rueda Administrator 3,714 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 10 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 Beltrán Rueda Administrator 3,714 post(s)

I’m glad to hear this.

 
Avatar charleslcso 7 post(s)

It is working for me if I remove the BitNami Apache server by modifying “reminecluster”!

How do I de-activiate BitNami’s Apache server so that it won’t start whenever BitNami starts?

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

You can simply rename the “your_installdir/apache2/scripts/ctl.sh” script and Apache will not be started

Forums Redmine