Defect #672

https and some application part

Added by Louis PERRIER almost 13 years ago. Updated almost 13 years ago.

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

0%

Category:-
Target version:-
Resolution:Invalid Affected version:

Description

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

History

#1 Updated by Jean-Philippe Lang almost 13 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