summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-09-28 08:36:59 +0200
committerMichael Adam <obnox@samba.org>2009-09-28 11:24:33 +0200
commit078040731c8b75ddbf66ec010a402d2823f3ded5 (patch)
treee3f139624d53152fde1a08a4cee76e671ae6d9d8 /docs
parent5198ae644b574f554418fe30d18f90c12fea3f88 (diff)
downloadtinyproxy-078040731c8b75ddbf66ec010a402d2823f3ded5.tar.gz
tinyproxy-078040731c8b75ddbf66ec010a402d2823f3ded5.zip
docs:document "Upstream"/"No Upstream" in the tinyproxy.conf manpage
Michael
Diffstat (limited to '')
-rw-r--r--docs/man5/tinyproxy.conf.txt.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/man5/tinyproxy.conf.txt.in b/docs/man5/tinyproxy.conf.txt.in
index 889499a..eca5fef 100644
--- a/docs/man5/tinyproxy.conf.txt.in
+++ b/docs/man5/tinyproxy.conf.txt.in
@@ -138,6 +138,34 @@ The possible keywords and their descriptions are as follows:
Setting this option to `Yes` tells Tinyproxy to add a header
`X-Tinyproxy` containing the client's IP address to the request.
+*[No] Upstream*::
+
+ This option allows you to set up a set of rules for deciding
+ whether an upstream a proxy server is to be used, based on the
+ host or domain of the site being accessed. The rules are stored
+ in the order encountered in the configuration file and the
+ LAST matching rule wins. There are three possible forms for
+ spcifying upstream rules:
+
+ * 'upstream host:port' turns proxy upstream support on generally.
+
+ * 'upstream host:port "site_spec"' turns on the upstream proxy for
+ the sites matching `site_spec`.
+
+ * 'no upstream "site_spec"' turns off upstream support for sites
+ matching `site_spec`.
+
+ The site can be specified in various forms as a hostname, domain
+ name or as an IP range:
+
+ * 'name' matches host exactly
+ * '.name' matches any host in domain "name"
+ * '.' matches any host with no domain (in 'empty' domain)
+ * 'IP/bits' matches network/mask
+ * 'IP/mask' matches network/mask
+
+
+
BUGS
----