diff --git a/lib/common.js b/lib/common.js index 5ab60e1a..c7c7c828 100644 --- a/lib/common.js +++ b/lib/common.js @@ -742,6 +742,11 @@ function httpClientOpts(clientOpts, req) { clientOpts.proxy = app.config.httpProxy || false; } + // noProxy + if (clientOpts.noProxy === undefined) { + clientOpts.noProxy = app.config.noProxy; + } + // headers.request-id if (req && req.getId()) { var req_id = (clientOpts.headers diff --git a/sapi_manifests/docker/template b/sapi_manifests/docker/template index 1bfa4b0f..922f50ec 100644 --- a/sapi_manifests/docker/template +++ b/sapi_manifests/docker/template @@ -59,6 +59,7 @@ }, "httpProxy": "{{{http_proxy}}}", + "noProxy": "{{{no_proxy}}}", "dockerRegistryInsecure": {{^docker_registry_insecure}}false{{/docker_registry_insecure}}{{#docker_registry_insecure}}{{{docker_registry_insecure}}}{{/docker_registry_insecure}}, "useTls": {{^USE_TLS}}false{{/USE_TLS}}{{#USE_TLS}}{{{USE_TLS}}}{{/USE_TLS}},