Replace gorilla/handlers.ProxyHandler with a simpler implementation
The ProxyHandler apparently assumes that you're running a gorilla.Mux for request routing, as it sets the URL.Scheme field of the incoming request - which is normally unset. This has the consequence of messing up all sorts of things, including redirects, because the other fields (like Host) of the request URL are still going to be unset.
Loading
Please register or sign in to comment