Project

General

Profile

Wrong HTTP Redirect to http instead of https://host.de

Added by fakod fakod almost 15 years ago

I switched out Redmine installation to ssl using apache2 proxy settings. But redmine still redirects to the url http://host.de.

curl -k https://host.de/

http response:

<html><body>You are being <a href="http://host.de/login?back_url=http%3A%2F%2Fhost.de%2F">redirected</a>.</body></html>

The redirection is printed out in the Redmine log as well (so I think it is no Apache2 issue).

Wer can I configure this redirection?


Replies (2)

RE: Wrong HTTP Redirect to http instead of https://host.de - Added by Felix Schäfer almost 15 years ago

Set Adminitration > Configuration > Protocol to https

RE: Wrong HTTP Redirect to http instead of https://host.de - Added by fakod fakod almost 15 years ago

No - sorry - this is for email.

I found the solution...

see
  • Redmine FAQ
  • install apache modul mod_headers with command a2enmod headers
  • add RequestHeader set X_FORWARDED_PROTO 'https' to apache config

Thx and regards

    (1-2/2)