Skip to content

squid.conf

조회 수 22773 추천 수 0 2012.03.07 13:28:12
error_directory /usr/share/squid/errors/Korean

# 최대저장 용량 200000 (=200G)
cache_dir ufs /data/squid 200000 16 256

# 서비스할 파일의 최대 크기 20G
maximum_object_size 20470 MB

acl localhost src 211.53.35.0/24

#===========================================
emulate_httpd_log on

maximum_object_size_in_memory 10240 KB

# recommanded value = RAM / 3, 1024 MB -> 2560 MB 
cache_mem 2560 MB

#==========================================
acl manager proto cache_object

acl PURGE method PURGE
http_access allow PURGE localhost
http_access deny PURGE


http_port 80 accel defaultsite=www.naver.com vhost
http_port 80 accel defaultsite=ftp.daum.net vhost
http_port 80 accel defaultsite=origin.easysw.net vhost
http_port 80 accel defaultsite=ftp.sayclub.com vhost

cache_peer www.naver.com parent 80 0 no-query originserver name=naver
cache_peer_domain naver www.naver.easysw.net naver.easysw.net

cache_peer ftp.daum.net parent 80 0 no-query originserver name=daum
cache_peer_domain daum daum.easysw.net

cache_peer origin.easysw.net parent 80 0 no-query originserver name=origin
cache_peer_domain origin squid1.easysw.net

buffered_logs on

# warning log, 1 -> 1.00 
quick_abort_min 1.00 KB

logformat cdn %{Host}>h:80;%{%Y-%m-%d;%H:%M:%S}tl;%tr;%<st;%ru;%>a;%Ss
access_log /var/log/squid/access.log cdn

delay_pools 1
delay_class 1 1
#delay_parameters 1 -1/-1
delay_parameters 1 80000/180000

#refresh_pattern        ^http:          10      20%     4320  ignore-no-cache

refresh_pattern -i . 1 40% 2    override-expire

profile

일요일은 짜빠게뤼~ 먹는날~^^

엮인글 :
http://adminplay.com/79886/b2c/trackback
List of Articles
번호 제목 글쓴이 날짜sort 조회 수
147 제로보드4의 데이터를 XE 로 이전하는 방법 file ADMINPLAY 2009-11-23 21923
146 LVS-NAT 구축(Linux Virtual Server) file ADMINPLAY 2009-11-04 23004
145 리눅스 클러스터링 LVS(Linux Virtual Server) ADMINPLAY 2009-11-04 20446
144 [LVS] CentOS5.2 기반 LVS 셋팅(Piranha) ADMINPLAY 2009-11-04 21752
143 LVS 기능 및 장점과 설치프로그램 및 적용사이트 ADMINPLAY 2009-11-04 23437
142 oracle IP 변경시 변경 해야될 파일 ADMINPLAY 2009-11-01 26314
141 리눅스 하드디스크 에러메세지 ADMINPLAY 2009-11-01 26457
140 가볍고 강력한 SNMP를 이용한 모니터링 프로그램입니다. file ADMINPLAY 2009-10-31 24899
139 네트워크 관리자를 위한 통합 모니터링 툴 - N.E.W.T file [2] ADMINPLAY 2009-10-31 24754
138 Dstat - 모니터링 file ADMINPLAY 2009-10-30 30735
137 mrtg on freebsd , monitor windows2003 ADMINPLAY 2009-10-11 16813
136 favicon 만들기 ADMINPLAY 2009-09-30 24875
135 rm -rf * 잘못 쳤을 때 울지 않기! ADMINPLAY 2009-09-30 19209
134 CentOS 5.0~5.1 :: 커널 2.6.17~2.6.24.1 vmsplice 커널버... ADMINPLAY 2009-09-28 22560
133 [Linux]RedHat Enterprise Linux 5 계열 VNC Server 설정 ADMINPLAY 2009-09-25 23752
132 [설치/설정] APM 튜닝정보 조금 ADMINPLAY 2009-09-24 19134
131 Making Linux Streaming Server RED5 스트리밍 리눅스서버... ADMINPLAY 2009-09-24 26678
130 CentOS 리눅스에서 완벽 동영상 재생하기 ADMINPLAY 2009-09-24 20522
129 Red Hat Linux 9 ADMINPLAY 2009-09-24 51604
128 chkconfig ADMINPLAY 2009-09-24 19859

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234