配置文件如下:
debian:/etc/tinyproxy# cat tinyproxy.conf
User nobody
Group nogroup
Port 8888
#Listen 192.168.0.1
#Bind 192.168.0.1
Timeout 600
DefaultErrorFile "/usr/share/tinyproxy/default.html"
StatFile "/usr/share/tinyproxy/stats.html"
Logfile "/var/log/tinyproxy.log"
LogLevel Info
PidFile "/var/run/tinyproxy.pid"
no upstream "hit.edu.cn"
no upstream "202.118.224.0/24"
no upstream "202.118.226.0/24"
no upstream "202.118.236.0/24"
no upstream "202.118.239.0/24"
no upstream "202.118.250.0/24"
no upstream "202.118.251.0/24"
Upstream 222.171.xx.xx:xxx
MaxClients 100
MinSpareServers 5
MaxSpareServers 20
StartServers 10
MaxRequestsPerChild 0
Allow 127.0.0.1
Allow 173.26.100.0/24
Allow 202.118.226.0/24
Allow 202.118.250.0/24
ViaProxyName "tinyproxy"
ConnectPort 443
ConnectPort 563
阅读(6959) | 评论(0) | 转发(0) |