From 5fe9e19865350490dc77e8f9d5d6967bd568c7d4 Mon Sep 17 00:00:00 2001 From: Edgars Beigarts Date: Fri, 19 Aug 2016 15:07:31 +0300 Subject: [PATCH] Do not use http_proxy env variables for CHECKS --- plugins/checks/check-deploy | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/checks/check-deploy b/plugins/checks/check-deploy index 861c8005c..7652331e4 100755 --- a/plugins/checks/check-deploy +++ b/plugins/checks/check-deploy @@ -148,11 +148,12 @@ checks_check_deploy() { sleep "$WAIT" - # -q do not use .curlrc (must come first) + # -q Do not use .curlrc (must come first) # --compressed Test compression handled correctly # --fail Fail on server errors (4xx, 5xx) # --location Follow redirects - local CURL_OPTIONS="-q --compressed --fail --location --max-time $TIMEOUT" + # --noproxy Do not use http_proxy env variable + local CURL_OPTIONS="-q --compressed --fail --location --noproxy $DOKKU_APP_LISTEN_IP --max-time $TIMEOUT" # Set X-Forwarded-Proto header if TLS is enabled. local SSL="$DOKKU_ROOT/$APP/tls"