summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjakovrr <michal.botka@seznam.cz>2022-02-20 17:47:02 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2022-03-16 09:02:06 +0000
commitcf50c947a1c67c377c2a313a6edd4c67bbff14bd (patch)
tree650c1e83011256fa7d70ccf8f2bd18a9887124bf
parent92a923076b860f085d25dc015b7a224da0043afb (diff)
downloadalpine-conf-cf50c947a1c67c377c2a313a6edd4c67bbff14bd.zip
setup-proxy: added no_proxy=localhost to ensure that no proxy is used when connecting to localhost
-rw-r--r--setup-proxy.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup-proxy.in b/setup-proxy.in
index 7c40d71..9456eb8 100644
--- a/setup-proxy.in
+++ b/setup-proxy.in
@@ -60,6 +60,7 @@ else
export http_proxy=$proxyurl
export https_proxy=$proxyurl
export ftp_proxy=$proxyurl
+ export no_proxy=localhost
__EOF__
# busybox wget does not handle http proxies well
apk add --quiet --no-progress wget