CentOS 配置HTTPD代理服务器 tinyproxy

2019-06-04  本文已影响0人  土豆特别想爬山

1.安装:yum install tinyproxy

2.配置:/etc/tinyproxy/tinyproxy.conf

Port 8888

Timeout 600

DefaultErrorFile "/usr/share/tinyproxy/default.html"

StatFile "/usr/share/tinyproxy/stats.html"

LogFile "/var/log/tinyproxy/tinyproxy.log"

LogLevel Info

PidFile "/var/run/tinyproxy/tinyproxy.pid"

MaxClients 100

MinSpareServers 5

MaxSpareServers 20

StartServers 10

MaxRequestsPerChild 0

ViaProxyName "tinyproxy"

ConnectPort 443

ConnectPort 563

3.启动服务service start tinyproxy

4.查看进程netstat -ntlp | grep tinyproxy

上一篇下一篇

猜你喜欢

热点阅读