1 # Sample configuration file for Polipo. -*-sh-*-
3 # You should not need to use a configuration file; all configuration
4 # variables have reasonable defaults. If you want to use one, you
5 # can copy this to /etc/polipo/config or to ~/.polipo and modify.
7 # This file only contains some of the configuration variables; see the
8 # list given by ``polipo -v'' and the manual for more.
11 ### Basic configuration
12 ### *******************
14 # Uncomment one of these if you want to allow remote clients to
17 # proxyAddress = "::0" # both IPv4 and IPv6
18 # proxyAddress = "0.0.0.0" # IPv4 only
20 # If you do that, you'll want to restrict the set of hosts allowed to
23 # allowedClients = "127.0.0.1, 134.157.168.57"
24 # allowedClients = "127.0.0.1, 134.157.168.0/24"
26 # Uncomment this if you want your Polipo to identify itself by
27 # something else than the host name:
29 # proxyName = "polipo.example.org"
31 # Uncomment this if there's only one user using this instance of Polipo:
33 # cacheIsShared = false
35 # Uncomment this if you want to use a parent proxy:
37 # parentProxy = "squid.example.org:3128"
39 # Uncomment this if you want to use a parent SOCKS proxy:
41 # socksParentProxy = "localhost:9050"
42 # socksProxyType = socks5
48 # Uncomment this if you want Polipo to use a ridiculously small amount
49 # of memory (a hundred C-64 worth or so):
51 # chunkHighMark = 819200
52 # objectHighMark = 128
54 # Uncomment this if you've got plenty of memory:
56 # chunkHighMark = 50331648
57 # objectHighMark = 16384
63 # Uncomment this if you want to disable the on-disk cache:
67 # Uncomment this if you want to put the on-disk cache in a
68 # non-standard location:
70 # diskCacheRoot = "~/.polipo-cache/"
72 # Uncomment this if you want to disable the local web server:
74 # localDocumentRoot = ""
76 # Uncomment this if you want to enable the pages under /polipo/index?
77 # and /polipo/servers?. This is a serious privacy leak if your proxy
80 # disableIndexing = false
81 # disableServersList = false
84 ### Domain Name System
85 ### ******************
87 # Uncomment this if you want to contact IPv4 hosts only (and make DNS
88 # queries somewhat faster):
92 # Uncomment this if you want Polipo to prefer IPv4 to IPv6 for
95 # dnsQueryIPv6 = reluctantly
97 # Uncomment this to disable Polipo's DNS resolver and use the system's
98 # default resolver instead. If you do that, Polipo will freeze during
101 # dnsUseGethostbyname = yes
107 # Uncomment this if you want to enable detection of proxy loops.
108 # This will cause your hostname (or whatever you put into proxyName
109 # above) to be included in every request:
113 # Uncomment this if you want to slightly reduce the amount of
114 # information that you leak about yourself:
116 # censoredHeaders = set-cookie, cookie, cookie2, from, accept-language, x-pad
117 # censorReferer = maybe
119 # Uncomment this if you want to use Poor Man's Multiplexing; increase
120 # the sizes if you're on a fast line. They should each amount to a few
121 # seconds' worth of transfer; if pmmSize is small, you'll want
122 # pmmFirstSize to be larger.
124 # Note that PMM is somewhat unreliable.
126 # pmmFirstSize = 16384
129 # Uncomment this if your user-agent does something reasonable with
130 # Warning headers (most don't):
132 # relaxTransparency = maybe
134 # Uncomment this if you never want to revalidate instances for which
135 # data is available (this is not a good idea):
137 # relaxTransparency = yes
139 # Uncomment this if you have no network:
143 # Uncomment this if you want to avoid revalidating instances with a
144 # Vary header (this violates RFC 2616, and is not a good idea):
146 # mindlesslyCacheVary = true