From e78b4616077a4a37058aba6e5aae68534310511e Mon Sep 17 00:00:00 2001 From: rofl0r Date: Sun, 25 Feb 2018 18:18:53 +0000 Subject: [PATCH] update upstream syntax in manpage template --- docs/man5/tinyproxy.conf.txt.in | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/man5/tinyproxy.conf.txt.in b/docs/man5/tinyproxy.conf.txt.in index e40135b..8f73720 100644 --- a/docs/man5/tinyproxy.conf.txt.in +++ b/docs/man5/tinyproxy.conf.txt.in @@ -144,21 +144,25 @@ The possible keywords and their descriptions are as follows: `X-Tinyproxy` containing the client's IP address to the request. *Upstream*:: -*No Upstream*:: This option allows you to set up a set of rules for deciding whether an upstream 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 - specifying upstream rules: + LAST matching rule wins. The following forms for specifying upstream + rules exist: - * 'upstream host:port' turns proxy upstream support on generally. + * 'upstream type host:port' turns proxy upstream support on generally. - * 'upstream host:port "site_spec"' turns on the upstream proxy for - the sites matching `site_spec`. + * 'upstream type user:pass@host:port' does the same, but uses the + supplied credentials for authentication. - * 'no upstream "site_spec"' turns off upstream support for sites + * 'upstream type host:port "site_spec"' turns on the upstream proxy + for the sites matching `site_spec`. + + `type` can be one of `http`, `socks4`, `socks5`, `none`. + + * 'upstream none "site_spec"' turns off upstream support for sites matching `site_spec`. The site can be specified in various forms as a hostname, domain