aboutsummaryrefslogtreecommitdiff
path: root/net/polipo/files/polipo.config
diff options
context:
space:
mode:
authorGabriel Kerneis <gabriel@kerneis.info>2014-06-03 15:16:41 +0100
committerGabriel Kerneis <gabriel@kerneis.info>2014-06-03 15:17:17 +0100
commita942fa7acbb8bf884df85d13bff6fa776b4342d0 (patch)
treeb9875241e550533437cc122656b5009222068f81 /net/polipo/files/polipo.config
parent8e95377741029e45af31565dcfacd7c1b4a8aed9 (diff)
net/polipo: import 1.1.1 from packages
Signed-off-by: Gabriel Kerneis <gabriel@kerneis.info>
Diffstat (limited to 'net/polipo/files/polipo.config')
-rw-r--r--net/polipo/files/polipo.config42
1 files changed, 42 insertions, 0 deletions
diff --git a/net/polipo/files/polipo.config b/net/polipo/files/polipo.config
new file mode 100644
index 000000000..8f8533191
--- /dev/null
+++ b/net/polipo/files/polipo.config
@@ -0,0 +1,42 @@
+# polipo daemon configuration
+config 'polipo' 'daemon'
+ # daemonise polipo (fork in background)
+ option 'daemonise' '1'
+ # where polipo will store its process pid
+ option 'pidFile' '/var/run/polipo.pid'
+
+config 'polipo' 'general'
+ option 'enabled' '1'
+ # adress on which polipo will listen, 0.0.0.0 means all addresses
+ option 'proxyAddress' '0.0.0.0'
+ # port on which polipo will listen, default is 8123
+ #option 'proxyPort' '8123'
+ # list of allowed clients to connect
+ list 'allowedClients' '192.168.1.0/24'
+ #list 'allowedClients' '127.0.0.1'
+ #list 'allowedClients' '192.168.2.1'
+ # how much RAM memory should Polipo use (in bytes).
+ option 'chunkHighMark' '1048576'
+ # enable disk cache index and serverlist of integrated polipo web interface
+ #option 'disableIndexing' '0'
+ #option 'disableServersList' '0'
+ # disable loging to syslog
+ option 'logSyslog' '0'
+ # set log file location (disabled when not set)
+ #option 'logFile' '/mnt/usbdrive/polipo/log'
+
+config 'polipo' 'cache'
+ # disk cache location, you should always use external storage device
+ # (disabled when not set)
+ #option 'diskCacheRoot' '/mnt/usbdrive-p2/polipo/cache'
+ # disk cache cleanup settings
+ #option 'diskCacheUnlinkTime' '20d'
+ #option 'diskCacheTruncateTime' '5d'
+ #option 'diskCacheTruncateSize' '3145728'
+ # set to 1 if proxy is used by multiple users
+ #option 'cacheIsShared' '1'
+
+config 'polipo' 'pmm'
+ # poor man's multiplexing semgnet size to fetch
+ #option 'pmmSize' '8192'
+