summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/fetch.3
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2007-12-18 11:03:26 +0000
committerdes <des@FreeBSD.org>2007-12-18 11:03:26 +0000
commitfa879ad534f0f77095c5a70904adc35eefba1ec5 (patch)
tree5d80a7a19d14ad47ae30c9227e54f5a7c5da49b5 /lib/libfetch/fetch.3
parentf0e1aa6917a14f5641e43cf944cacb2e1aa83223 (diff)
downloadFreeBSD-src-fa879ad534f0f77095c5a70904adc35eefba1ec5.zip
FreeBSD-src-fa879ad534f0f77095c5a70904adc35eefba1ec5.tar.gz
Document NO_PROXY / no_proxy.
MFC after: 3 weeks
Diffstat (limited to 'lib/libfetch/fetch.3')
-rw-r--r--lib/libfetch/fetch.318
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/libfetch/fetch.3 b/lib/libfetch/fetch.3
index 26ea5a7..733f513 100644
--- a/lib/libfetch/fetch.3
+++ b/lib/libfetch/fetch.3
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 22, 2007
+.Dd December 18, 2007
.Dt FETCH 3
.Os
.Sh NAME
@@ -532,6 +532,14 @@ See
.Xr ftp 1
for a description of the file format.
This feature is experimental.
+.It Ev NO_PROXY
+Either a single asterisk, which disables the use of proxies
+altogether, or a comma- or whitespace-separated list of hosts for
+which proxies should not be used.
+.It Ev no_proxy
+Same as
+.Ev NO_PROXY ,
+for compatibility.
.El
.Sh EXAMPLES
To access a proxy server on
@@ -555,6 +563,14 @@ environment variable:
HTTP_PROXY=http://proxy.example.com:8080
HTTP_PROXY_AUTH=basic:*:<user>:<pwd>
.Ed
+.Pp
+To disable the use of a proxy for an HTTP server running on the local
+host, define
+.Ev NO_PROXY
+as follows:
+.Bd -literal -offset indent
+NO_PROXY=localhost,127.0.0.1
+.Ed
.Sh SEE ALSO
.Xr fetch 1 ,
.Xr ftpio 3 ,
OpenPOWER on IntegriCloud