Skip to content
  • ale's avatar
    Replace gorilla/handlers.ProxyHandler with a simpler implementation · 5ecc19d4
    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.
    5ecc19d4