windows 2008 squid3.0 配置反向代理服务器

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

时间: 2024-08-10 00:29:18

windows 2008 squid3.0 配置反向代理服务器的相关文章

apache 配置反向代理服务器

前几天实验了下 nginx 配置反向代理服务器.虽然 nginx 的安装很麻烦,但是用起来倒是很简单.不过组里没人用过 nginx,apache 服务器大家倒是蛮熟,为了减少 ops team 的工作量,我决定使用 apache. 我记得本科时安装过 apache 服务器,当初没有遇到困难.而这次安装却总也安装不成功,公司对机器的权限管理的很严格,我没有 root 权限,没有连接外网权限,编译 apache 时有很多依赖拿不到,最后还是请 ops team 的人帮忙搞定的. 配置 proxy m

Nginx配置反向代理服务器

首先,在阅读<深入理解Nginx模块>后,大体了解了配置反向代理服务器一些常见的配置.如下进行说明:" l  Nginx worker进程个数 语法: worker_processes number; 默认: worker_processes 1; 在master/worker运行方式下, 定义worker进程的个数. worker进程的数量会直接影响性能. 那么, 用户配置多少个worker进程才好呢? 这实际上与业务需求有关. 每个worker进程都是单线程的进程, 它们会调用各

Windows 2008 双机群集配置(for SQLServer)

此处配置Windows2008 群集,将用于SQLserver 2008 双机故障转移群集,此处SQLserver 的群集基于Windows群集实现.Windows 2008 集群更容易实现了,只要规划好IP和磁盘分配,可一直按窗口界面进行配置. 服务器要求: 本次测试要求3台服务器,1台域控制器(Windows 2003 .双网卡可选),2个集群节点(Windows server 2008.双网卡). 要求工具: WindowsInstaller 4.5 Redistributable Mic

CentOS 6.6编译安装Squid 配置反向代理服务器

squid安装: 1.下载squid源码安装包 wget http://www.squid-cache.org/Versions/v3/3.2/squid-3.2.3.tar.gz 解压缩 tar zxvf squid-3.2.3.tar.gz 进入解压后的目录 cd squid-3.2.3(目录位置依据个人设定而不同) 安装 [[email protected] squid-3.2.3]# ./configure --prefix=/usr/local/squid --enable-gnure

Windows下使用nginx搭建反向代理服务器

反向代理(Reverse Proxy)方式是指以代理服务器来接受internet上的连接请求,然后将请求转发给内部网络上的服务器,并将从服务器上得到的结果返回给internet上请求连接的客户端,此时代理服务器对外就表现为一个反向代理服务器. 本文意在搭建一台nginx反向代理服务器. 1.nginx的安装配置可参考博文:http://www.cnblogs.com/wangwust/p/6420503.html 2.修改nginx的配置文件,如下: server { listen 8888;

Windows 2008 R2上配置IIS7或IIS7.5中的URLRewrite(URL重写)实例

1. 安装URL Rewrite模块 首先从官网下载安装URL Rewrite Module 2.0,下载页面 或者直接点击这里下载: re_write_x86_zh_CN.msi from microsoft re_write_x64_zh_CN.msi from microsoft安装即可 2.URL Rewrite模块配置实例 2.1.在web.config中添加如下节点 <system.webServer><rewrite><rules><rule nam

ubuntu安装nginx配置反向代理服务器

安装nginx: sudo apt-get install nginx 启动nginx; sudo service nginx start 如果报了这样的错误: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)2015/01/16 15:55:46 [warn] 1973#0: the "user" direc

windows 2003 IIS6.0 迁移至windows 2008 IIS7.0

http://www.splaybow.com/post/iis-6.0-7.0.html https://docs.microsoft.com/en-us/iis/publish/using-web-deploy/migrate-a-web-site-from-iis-60-to-iis-7-or-above

Windows 2008 IIS同时配置多版本的php

Windows可以通过IIS下安装PHP Manager工具让IIS可以同时支持多版本的php,具体步骤如下: 1.下载PHP Manager软件(可以在http://phpmanager.codeplex.com/releases/view/69115下载),下载后在服务器内双击安装文件进行安装,安装后打开IIS在站点右侧就会多出一个PHP Manager管理选项. 2.在系统盘C盘内创建个php文件夹,将不同版本的php文件都转移到此文件夹下,本教程使用的php5.2和php5.3版本的ph