Content
You are here:
Change openproject URL
Added by Florian Seibold over 10 years ago
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.
Replies (3)
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)
2. Precompile assets (important because of the new assets paths, including subfolder)
3. Restart the webserver (e.g. apache)
Best
Ratzi
Is there a way to change the URL to subfolder after installing openproject also? I am running on debian jessie.
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