summaryrefslogtreecommitdiffhomepage
path: root/doc/tinyproxy.conf
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2003-05-29 19:44:00 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2003-05-29 19:44:00 +0000
commit4a377a712d5a17d1cd2c5e46f8c0873824a2448f (patch)
treed2af5dc84bb057f96fe7df741b9232d2ae620056 /doc/tinyproxy.conf
parent2e9f27769d94974c875207e92fd219e6cd29fda8 (diff)
Improved the upstream proxy support by making the upstream proxy
server configurable based on the destination host. [Code written by Peter da Silva]
Diffstat (limited to 'doc/tinyproxy.conf')
-rw-r--r--doc/tinyproxy.conf26
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
#