oauth2_proxy icon indicating copy to clipboard operation
oauth2_proxy copied to clipboard

proxy upstream

Open sammerry opened this issue 7 years ago • 1 comments

I'd like to proxy the upstream request through a service mesh like linkerd. Is there any support for proxy environment variables? Whenever i try dns lookup does not resolve. Is there a way to disable it since dns resolution should be handled by the upstream proxy?

EX: http_proxy=http://service-mesh:4140 curl http://hello-world-app

error returned using a dns entry that resolves in the proxy

2017/05/18 21:57:16 reverseproxy.go:275: http: proxy error: dial tcp: lookup hello-world-app on <public ip>:53: no such host

sammerry avatar May 18 '17 22:05 sammerry

@sammerry did you find a workaround? I am facing a similar issue with this fork https://github.com/openshift/oauth-proxy/issues/71#issuecomment-412434356

patlachance avatar Aug 13 '18 16:08 patlachance