Proxy_pass strips http when there are 2 or more redirect link

Hello G.s,

I am using proxy_pass to do something like this:


But what happens is it passes the request directly to
(second http part of the proxy_pass link)

It does not hit at all.

Can anyone help me with the same?