Re: [foreman-dev] [RFC] HTTP proxy for requests

2017-04-20 Thread Tom McKay
As a dev I am curious how this is handled in our code. Does every usage of RestClient need to know about the existence of a proxy? Are there multiple proxies for different aspects (eg. https://cdn.redhat.com vs. https://myinternalserver.example.com)? On Thu, Apr 20, 2017 at 8:43 AM, Timo Goebel w

Re: [foreman-dev] [RFC] HTTP proxy for requests

2017-04-20 Thread Timo Goebel
Hi, Am 20.04.17 um 13:06 schrieb Sebastian Gräßl: How common is a setup where external resources requiring HTTP are used with Foreman behind a HTTP proxy? I believe, this is very common in enterprise environments. Usually any internet access is blocked for security reasons and only connection

[foreman-dev] [RFC] HTTP proxy for requests

2017-04-20 Thread Sebastian Gräßl
Hej, at the moment there is a PR[1] open on foreman-docker to set a HTTP proxy for requests to registries. The PR allows to set a HTTP proxy on the HTTP client, in this case deep down Excon, only for registry requests. A HTTP proxy won't be set on requests if a `HTTP_PROXY` environment variabl