You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.4 KiB

  1. # polipo daemon configuration
  2. config 'polipo' 'daemon'
  3. # daemonise polipo (fork in background)
  4. option 'daemonise' '1'
  5. # where polipo will store its process pid
  6. option 'pidFile' '/var/run/polipo.pid'
  7. config 'polipo' 'general'
  8. option 'enabled' '1'
  9. # adress on which polipo will listen, 0.0.0.0 means all addresses
  10. option 'proxyAddress' '0.0.0.0'
  11. # port on which polipo will listen, default is 8123
  12. #option 'proxyPort' '8123'
  13. # list of allowed clients to connect
  14. list 'allowedClients' '192.168.1.0/24'
  15. #list 'allowedClients' '127.0.0.1'
  16. #list 'allowedClients' '192.168.2.1'
  17. # how much RAM memory should Polipo use (in bytes).
  18. option 'chunkHighMark' '1048576'
  19. # enable disk cache index and serverlist of integrated polipo web interface
  20. #option 'disableIndexing' '0'
  21. #option 'disableServersList' '0'
  22. # disable loging to syslog
  23. option 'logSyslog' '0'
  24. # set log file location (disabled when not set)
  25. #option 'logFile' '/mnt/usbdrive/polipo/log'
  26. config 'polipo' 'cache'
  27. # disk cache location, you should always use external storage device
  28. # (disabled when not set)
  29. #option 'diskCacheRoot' '/mnt/usbdrive-p2/polipo/cache'
  30. # disk cache cleanup settings
  31. #option 'diskCacheUnlinkTime' '20d'
  32. #option 'diskCacheTruncateTime' '5d'
  33. #option 'diskCacheTruncateSize' '3145728'
  34. # set to 1 if proxy is used by multiple users
  35. #option 'cacheIsShared' '1'
  36. config 'polipo' 'pmm'
  37. # poor man's multiplexing semgnet size to fetch
  38. #option 'pmmSize' '8192'