Closed letic closed 12 years ago
this code dont needed solution is: correct front-end server headers configuration for nginx: proxy_set_header X-Forwarded-Proto https; for apache: RequestHeader set X_FORWARDED_PROTO 'https'
Hey zloydadka,
Thanks for the answer, but as I said in #60 I am using Nginx with phusion passenger. There is no proxying involved.
I already tried the solution proposed before opening the ticket, without any change of behaviour.
Maybe it is a bug in nginx and/or phusion passenger...
oh man i'm not developer of passenger, but i read it's documentation if i use it.
your solution is: passenger_set_cgi_param HTTP_X_FORWARDED_PROTO https;
Yep I was looking at it after my last comment realising that it might be an issue in nginx/passenger, and found that same options. But you beat me to the reply :)
Thanks for your help ! Keep up the good work.
Here is a propose fix for this issue.
Beware it won't work for people using redmine in a sub-url (ie http://mydomain.com/redmine/)