Commit 0a5c156c authored by Jacob Vosmaer's avatar Jacob Vosmaer

Remove authBackend field

parent 1559a5f7
...@@ -25,7 +25,6 @@ type upstream struct { ...@@ -25,7 +25,6 @@ type upstream struct {
API *api.API API *api.API
Proxy *proxy.Proxy Proxy *proxy.Proxy
DocumentRoot string DocumentRoot string
authBackend string
relativeURLRoot string relativeURLRoot string
routes []route routes []route
} }
...@@ -133,7 +132,6 @@ func newUpstream(authBackend string, authSocket string) *upstream { ...@@ -133,7 +132,6 @@ func newUpstream(authBackend string, authSocket string) *upstream {
proxyTransport := proxy.NewRoundTripper(authTransport) proxyTransport := proxy.NewRoundTripper(authTransport)
up := &upstream{ up := &upstream{
authBackend: authBackend,
API: &api.API{ API: &api.API{
Client: &http.Client{Transport: proxyTransport}, Client: &http.Client{Transport: proxyTransport},
URL: parsedURL, URL: parsedURL,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment