Open link in a new tab

Content

Expand project menu

how-to setup the external address of my openproject instance?

I did install openproject successfully on Kubernetes using the method described here: https://www.openproject.org/docs/installation-and-operations/installation/kubernetes/

The procedure works globally fine. However, the application generates links that point to localhost. For instance, the link to the scrum project on the default page points to: http://localhost:3000/projects/your-scrum-project

Is there a way to configure openproject so links generated on the pages point to a custom domain?

Thanks in advance for your help

Message actions

Hello, you could always reverse proxy the OpenProject on another host or the host running openproject

  1. same machine, use the internal Apache Proxy in the packaged installation
    https://www.openproject.org/docs/installation-and-operations/installation/packaged/#install-apache2-web-server-default
  2. different machine, reverse proxy points to http://ip-of-your-op:3000
    https://www.openproject.org/docs/installation-and-operations/configuration/server/ 
    or https://www.openproject.org/docs/installation-and-operations/installation/docker/#1-virtual-host-root
Message actions

Thank you very much for the reply.

I'm not quite sure that we are talking about the same thing.

I am referring to the way openproject builds up the links in the pages:

As per your recommendation, I tried to set the rails_relative_url_root to "/" on both the web and the proxy container. It didn't change anything.

According to the list of environment variables (https://www.openproject.org/docs/installation-and-operations/configuration/environment/), there are no other variable I can change.

Thanks in advance for your help.

Emmanuel

Message actions

Sorry... this is my bad... This setting can be found on the settings page of openproject:

Sorry for wasting your time.

Message actions

As you documented the solution this is no waste of time, thank you very much for finding the solution and the screenshots