Defect #672

https and some application part

Added by Louis PERRIER over 14 years ago. Updated over 14 years ago.

Status:ClosedStart date:2008-02-15
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution:Invalid Affected version:


I use redmine with https, and have some problemes with redirect and i suppose :home_url

When a form (login, logout for example) are submit, I lose the https and arrive on a page with http protocol.

https protocol is set in administration > setting

Related issues

Related to Redmine - Defect #1628: redmine sends http on forms on https server Reopened 2008-07-12
Duplicated by Redmine - Defect #2226: broken links in apache https Closed 2008-11-25


#1 Updated by Jean-Philippe Lang over 14 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

To tell Rails to use https on redirects, set the X_FORWARDED_PROTO header to https.
Eg, if you're using apache:

RequestHeader set X_FORWARDED_PROTO 'https'

The https flag that you see in the application settings is used for urls generated in emails only.

Also available in: Atom PDF