From 078040731c8b75ddbf66ec010a402d2823f3ded5 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 28 Sep 2009 08:36:59 +0200 Subject: docs:document "Upstream"/"No Upstream" in the tinyproxy.conf manpage Michael --- docs/man5/tinyproxy.conf.txt.in | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'docs/man5') 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 ---- -- cgit v1.2.3