| Mizushima Network Service 〜Windows/日本語/無料で始める自宅サーバー〜 |
|---|
Polipoの設定とチューニング
とりあえずUP。
落ち着いたら導入方法を始め、もうちょっと書き直すつもり。
自分が触ったところだけ色を変えてあります、参考まで。
### Basic configuration
# Uncomment one of these if you want to allow remote clients to
# proxyAddress = "::0" # IPv4 と IPv6
# If you do that, you'll want to restrict the set of hosts allowed to
# allowedClients = "127.0.0.1, 134.157.168.57"
# Uncomment this if you want your Polipo to identify itself by
proxyName = "polipo.mizushima.ne.jp" # ま、とりあえず。
# Uncomment this if there's only one user using this instance of Polipo:
cacheIsShared = false # 明示するとパフォーマンス上がるのかな?
# Uncomment this if you want to use a parent proxy:
# parentProxy = "squid.example.org:3128" # うちはSquid使ってない。
# Uncomment this if you want to use a parent SOCKS proxy:
# socksParentProxy = "localhost:9050" # やっぱりうちは使用していない
### Memory
# Uncomment this if you want Polipo to use a ridiculously small amount
# chunkHighMark = 819200
# Uncomment this if you've got plenty of memory:
chunkHighMark = 50331648 # 今はメモリ安いからねー。
### On-disk data
# Uncomment this if you want to disable the on-disk cache:
# diskCacheRoot = "" # 有効にしたいのでここは放置
# Uncomment this if you want to put the on-disk cache in a
diskCacheRoot = "/Program Files/Polipo/cache/"
# Uncomment this if you want to disable the local web server:
# localDocumentRoot = "" # 結局よく分からないので放置
# Uncomment this if you want to enable the pages under /polipo/index?
disableIndexing = false # 私自身しか使わないので双方共に有効化した
### Domain Name System
# Uncomment this if you want to contact IPv4 hosts only (and make DNS
dnsQueryIPv6 = no # IPv4しか使用しないので有効化
# Uncomment this if you want Polipo to prefer IPv4 to IPv6 for
# dnsQueryIPv6 = reluctantly # そもそもv6は使用していないので放置
# Uncomment this to disable Polipo's DNS resolver and use the system's
# dnsUseGethostbyname = yes # パフォーマンスを落とすような事はしたくないでしょう。
### HTTP
# Uncomment this if you want to enable detection of proxy loops.
# disableVia=false # そもそもプロキシがループするっていう方が分からないんですけど。
# Uncomment this if you want to slightly reduce the amount of
censoredHeaders = from, accept-language # 気休めにしかならないと思うけど。
# Uncomment this if you're paranoid. This will break a lot of sites,
# censoredHeaders = set-cookie, cookie, cookie2, from, accept-language
# Uncomment this if you want to use Poor Man's Multiplexing; increase
pmmFirstSize = 16384 # 頼りにならなくても、やらないよりはマシでしょう。
# Uncomment this if your user-agent does something reasonable with
relaxTransparency = maybe # 結局なんなんだ?とりあえず有効化。
# Uncomment this if you never want to revalidate instances for which
# relaxTransparency = yes # 良い事じゃないならやめとこう。
# Uncomment this if you have no network:
# proxyOffline = yes # 何のための設定なんだ?
# Uncomment this if you want to avoid revalidating instances with a # mindlesslyCacheVary = true # じゃやめとこう。 |