diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2003-06-02 21:56:00 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2003-06-02 21:56:00 +0000 |
commit | 7f8e4647f7dea650f7fff1e869907746fd50a079 (patch) | |
tree | 051da9e6245145bf69c87aa55749137f18e94b59 | |
parent | 91e082671a22cf9e5c5781d470955c7e92a4d238 (diff) | |
download | tinyproxy-7f8e4647f7dea650f7fff1e869907746fd50a079.tar.gz tinyproxy-7f8e4647f7dea650f7fff1e869907746fd50a079.zip |
Included additional examples of how to configure the upstream proxy
support for more selective proxying.
-rw-r--r-- | doc/tinyproxy.conf | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/doc/tinyproxy.conf b/doc/tinyproxy.conf index 62b52bc..9eacb95 100644 --- a/doc/tinyproxy.conf +++ b/doc/tinyproxy.conf @@ -97,26 +97,31 @@ PidFile "/var/run/tinyproxy.pid" # # For example: # # connection to test domain goes through testproxy -# upstream testproxy:8008 .test.domain.invalid -# upstream testproxy:8008 .our_testbed.example.com +# upstream testproxy:8008 ".test.domain.invalid" +# upstream testproxy:8008 ".our_testbed.example.com" +# upstream testproxy:8008 "192.168.128.0/255.255.254.0" # # # no upstream proxy for internal websites and unqualified hosts -# no upstream .internal.example.com -# no upstream www.example.com -# no upstream . +# no upstream ".internal.example.com" +# no upstream "www.example.com" +# no upstream "10.0.0.0/8" +# no upstream "192.168.0.0/255.255.254.0" +# 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 +# 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) +# name matches host exactly +# .name matches any host in domain "name" +# . matches any host with no domain (in 'empty' domain) +# IP/bits matches network/mask +# IP/mask matches network/mask # #Upstream some.remote.proxy:port |