windows 2008 squid3.0 配置反向 Proxy伺服器

來源:互聯網
上載者:User

標籤:squid反向 Proxy伺服器






acl manager proto cache_object

acl localhost src 127.0.0.1/32

acl to_localhost dst 127.0.0.0/8 0.0.0.0/32


acl localnet src 10.0.0.0/8# RFC1918 possible internal network

acl localnet src 172.16.0.0/12# RFC1918 possible internal network

acl localnet src 192.168.0.0/16# RFC1918 possible internal network





acl SSL_ports port 443

acl Safe_ports port 80# http

acl Safe_ports port 21# ftp

acl Safe_ports port 443# https

acl Safe_ports port 70# gopher

acl Safe_ports port 210# wais

acl Safe_ports port 1025-65535# unregistered ports

acl Safe_ports port 280# http-mgmt

acl Safe_ports port 488# gss-http

acl Safe_ports port 591# filemaker

acl Safe_ports port 777# multiling http

acl CONNECT method CONNECT


http_access allow  all

#http_access allow manager localhost

http_access deny manager

http_access deny !Safe_ports

http_access deny CONNECT !SSL_ports


http_access allow localnet


icp_access allow localnet

icp_access deny all

visible_hostname  squidserver1

htcp_access allow localnet


http_port 80 vhost vport

hierarchy_stoplist cgi-bin ?


cache_mem 100 MB

access_log c:/squid/var/logs/access.log squid

cache_log c:/squid/var/logs/cache.log

cache_store_log c:/squid/var/logs/store.log

cache_peer 192.168.33.129 parent 18080 0  no-query originserver no-digest name=upaicn

cache_peer_domain upaicn  youjie.co

cache_peer_access upaicn  allow all


refresh_pattern ^ftp:144020%10080

refresh_pattern ^gopher:14400%1440

refresh_pattern (cgi-bin|\?)00%0

refresh_pattern .020%4320


icp_port 3130

coredump_dir c:/squid/var/cache




cache_peer 192.168.33.129 parent 18080 0 no-query originserver no-digest name=dycc_uid7_cn

cache_peer_domain dycc_uid7_cn youjie.co

cache_peer_access dycc_uid7_cn   allow all



cache_peer 192.168.33.129 parent 28080 0  no-query originserver no-digest name=u_pai_cn

cache_peer_domain  u_pai_cn u-pai.cn

cache_peer_access u_pai_cn  allow all





windows 2008 squid3.0 配置反向 Proxy伺服器

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.