Project

General

Profile

Redmine problem with haproxy.

Added by Leszek Master over 10 years ago

I've got a problem with redmine behind haproxy. Redmine behind haproxy without relative url set send client an web page with javascript files from the whole domain without https (https://mydomain.com/javascripts/.....). On the redmine.org i saw that the link to javascripts is relative (/javascripts/....) How to set this ? If i add to httpd_app.conf file SetEnv RAILS_RELATIVE_URL_ROOT "/" the client try to process "//javscript/..." as http://javascript.

Please help me i need to get this working.

I have set X-Forwarded-Proto:\ https in haproxy but it doesn't solve my problem.