Answer the question
In order to leave comments, you need to log in
[Solved] How to stop Redmine from redirecting from https to http?
There is an Apache + Redmine server.
At the entrance to the locale, nginx with https is launched, it proxies incoming requests from port 443 to Apache at 80.
In the nginx settings there is " proxy_set_header X-Forwarded-Proto https; "
Apache has " SetEnvIf X-Forwarded-Proto https HTTPS=on ". Redmine has " Protocol: HTTPS
"
selected in Administration=>Settings=>General .
However, Redmine still constantly redirects from https to http,
for example, after editing the Issue.
Question: how to wean him from this? Answer: proxy_set_header is ignored if it is not in the same location as proxy_pass.
Because of this, Nginx did not forward Apache X-Forwarded-Proto.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question