From 4a377a712d5a17d1cd2c5e46f8c0873824a2448f Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Thu, 29 May 2003 19:44:00 +0000 Subject: Improved the upstream proxy support by making the upstream proxy server configurable based on the destination host. [Code written by Peter da Silva] --- doc/tinyproxy.conf | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'doc') diff --git a/doc/tinyproxy.conf b/doc/tinyproxy.conf index 651c221..62b52bc 100644 --- a/doc/tinyproxy.conf +++ b/doc/tinyproxy.conf @@ -92,6 +92,32 @@ PidFile "/var/run/tinyproxy.pid" # # Turns on upstream proxy support. # +# The upstream rules allow you to selectively route upstream connections +# based on the host/domain of the site being accessed. +# +# For example: +# # connection to test domain goes through testproxy +# upstream testproxy:8008 .test.domain.invalid +# upstream testproxy:8008 .our_testbed.example.com +# +# # no upstream proxy for internal websites and unqualified hosts +# no upstream .internal.example.com +# no upstream www.example.com +# no upstream . +# +# # connection to these boxes go through their DMZ firewalls +# upstream cust1_firewall:8008 testbed_for_cust1 +# upstream cust2_firewall:8008 testbed_for_cust2 +# +# # default upstream is internet firewall +# upstream firewall.internal.example.com:80 +# +# The LAST matching rule wins the route decision. As you can see, you +# can use a host, or a domain: +# name matches host exactly +# .name matches any host in domain "name" +# . matches any host with no domain (in 'empty' domain) +# #Upstream some.remote.proxy:port # -- cgit v1.2.3