diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-03-04 18:07:49 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-03-04 18:07:49 +0100 |
commit | c196eedabc73e7245b4baf05e7fdf35ac72879be (patch) | |
tree | 904888aa73f1c76f19498a2972042b5b3c29f008 /etc/proxy.sh | |
parent | 37e1aa24fa024a5d642f143638435975a48dcf61 (diff) | |
download | s2i-jekyll-c196eedabc73e7245b4baf05e7fdf35ac72879be.tar.gz |
proxy setup
Diffstat (limited to 'etc/proxy.sh')
-rw-r--r-- | etc/proxy.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/etc/proxy.sh b/etc/proxy.sh new file mode 100644 index 0000000..0027af5 --- /dev/null +++ b/etc/proxy.sh @@ -0,0 +1,19 @@ +if test "$HTTP_PROXY" != ""; then + export http_proxy="$HTTP_PROXY" +fi +if test "$HTTPS_PROXY" != ""; then + export https_proxy="$HTTPS_PROXY" +fi +if test "$FTP_PROXY" != ""; then + export ftp_proxy="$FTP_PROXY" +fi +if test "$ALL_PROXY" != ""; then + export all_proxy="$ALL_PROXY" +fi +if test "$NO_PROXY" != ""; then + export no_proxy="$NO_PROXY" +fi + +echo "-=- debug -=-" +set | grep -i -e "_proxy=" +echo "-=-" |