Replies: 1 comment
-
If you are using a Redmine Docker image version 5.0 or above, the frontend utilizes Puma. First, you need to add the following environment variable to your docker-compose.yml environment:
RAILS_RELATIVE_URL_ROOT: "/rmi" Second, you need to modify the # This file is used by Rack-based servers to start the application.
require_relative 'config/environment'
-run Rails.application
+map ENV['RAILS_RELATIVE_URL_ROOT'] || '/' do
+ run RedmineApp::Application
+end You can add this patch to your build process to create the correct image with the modified config.ru, or you can apply this patch manually after the container is brought up. |
Beta Was this translation helpful? Give feedback.
-
I will put redmine docker in sub-URI,but i fail with: Page not found
Beta Was this translation helpful? Give feedback.
All reactions