Improved the upstream proxy support by making the upstream proxy

server configurable based on the destination host.  [Code written by
Peter da Silva]
This commit is contained in:
Robert James Kaes committed 2003-05-29 19:44:00 +00:00
1 parent 2e9f27769d
commit 4a377a712d
5 files changed
+210 -23

No files matched your search

+26
View File
@@ -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
#