Open link in a new tab

Content

Expand project menu

Change openproject URL

Hi,

I have installed openproject on Ubuntu 12.04 by reference to https://www.openproject.org/projects/openproject/wiki/Installation_Ubuntu.

Now I want to change the openproject-URL from “http://localhost:3000” to “https://localhost/openproject”.
If I change the Protocoll to “HTTPS” and the Hostname to “localhost/openproject” nothing happens.

What can I do?

Thanks.

Message actions

Hi Florain,

it looks like you wanna run OpenProject in production environment for this we recommend a webserver-setup with Apache or Nginx together with phusion passenger. With such a setup you can configure apache easy to run OpenProject in a subfolder (e.g. /openproject).

Passenger users guide Apache

Preparing OpenProject to run in a subfolder setup:

1. set rails_relative_url_root in ‘config/configuration.yml’ (see ‘config/configuration.yml.example’ for an example)

rails_relative_url_root: "/openproject"

2. Precompile assets (important because of the new assets paths, including subfolder)

bundle exec rake assets:precompile

3. Restart the webserver (e.g. apache)

Best
Ratzi

Message actions

Is there a way to change the URL to subfolder after installing openproject also? I am running on debian jessie.

Message actions

I’ve done it once installed by adding:

rails_relative_url_root: “/openproject”*

in configuration.yml file at /opt/openproject/config folder and now is working perfectly at URL http://servername/openproject