Select Git revision
proxy_headers.go
-
ale authored
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.
ale authoredThe 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.