diff options
Diffstat (limited to 'doc/tinyproxy.conf')
-rw-r--r-- | doc/tinyproxy.conf | 26 |
1 files changed, 26 insertions, 0 deletions
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 # |