Hi Team, I have an issue Haproxy SSL redirection. Whenever any request is redirected from HAproxy , then two redirected request is send, one is with http and other with https while URL for both request is same. For example, when the URL is redirected to https://www.example.com/to/path? , then these two request are send http://www.example.com/path1/path2/path3? https://www.example.com/path1/path2/path3?
To solve this, I have have added the "X-Forwarded-Proto header" and set it to "https" in Haproxy back end node configuration to help applications to determine which scheme is used when building URL's and sending redirects. But this fix didn't solved my issue.