https and some application part
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
#1 Updated by Jean-Philippe Lang about 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
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.