#-}import qualified Network.HTTP.ReverseProxyas ReverseProxyimport qualified Network.Wai.Request as RequestproxyApp upstream manager req res = do
let host = ByteString.concat([
我试图同时使用大猩猩mux和httputil.ReverseProxy,但是当尝试获取mux.Vars时,它是空的。req.URL.Path = out.Path + "/" + mux.Vars(req)["path"] // mux Vars are empty here return &httputil.ReverseProxy