Created
November 5, 2016 02:33
-
-
Save GeoffWilliams/4bdf96f2f31eab370def1d7aa5ad8596 to your computer and use it in GitHub Desktop.
polipo config for openwrt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # polipo daemon configuration | |
| # /etc/config/polipo | |
| 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' '3128' | |
| # 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/sda1/cache/log' | |
| option 'localDocumentRoot' '/mnt/sda1/cache' | |
| config 'polipo' 'cache' | |
| # disk cache location, you should always use external storage device | |
| # (disabled when not set) | |
| option 'diskCacheRoot' '/mnt/sda1/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' | |
| option 'diskCacheTruncateSize' '99999999999' | |
| config 'polipo' 'pmm' | |
| # poor man's multiplexing semgnet size to fetch | |
| #option 'pmmSize' '8192' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment