Skip to content

squid.conf

조회 수 22738 추천 수 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/0fd/trackback
List of Articles
번호 제목 글쓴이 날짜 조회 수sort
247 top 명령어 정리 ADMINPLAY 2009-01-10 18595
246 그누보드4와 MySQL5를 연동시 초기 관리자 계정이 생성되... ADMINPLAY 2012-01-16 18619
245 오라클시작 ADMINPLAY 2009-06-26 18741
244 리눅스서버 응급복구와 삭제파일 복구 ADMINPLAY 2009-08-19 18808
243 Linux 특수 퍼미션 ADMINPLAY 2011-01-14 18815
242 외국 자료실 (Unix Linux Windows) ADMINPLAY 2009-02-04 18895
241 rsync ssh 포트 말고 다른포트 사용법 ADMINPLAY 2011-06-10 18915
240 리눅스 java tocmat 설치 ADMINPLAY 2009-05-07 18944
239 관리, 개발자를 위한 vi 환경 설정 ( vim-enhanced) ADMINPLAY 2009-04-27 18964
238 리눅스 터미널에서 사용하는 단축 키 ADMINPLAY 2009-05-28 18965
237 마우스 오른쪽 버튼 막기... ADMINPLAY 2008-12-14 19065
236 [설치/설정] APM 튜닝정보 조금 ADMINPLAY 2009-09-24 19074
235 rm -rf * 잘못 쳤을 때 울지 않기! ADMINPLAY 2009-09-30 19178
234 메신저 프로그램 사용 포트 ADMINPLAY 2010-05-19 19181
233 GBIC(지빅) 이 뭘까?? file ADMINPLAY 2012-08-02 19183
232 우분투에 Samba 를 설치하자 ADMINPLAY 2010-11-08 19195
231 TOP 프로그램에서 사용하는 기능키 ADMINPLAY 2010-05-04 19314
230 clocksource tsc unstable 에러 ADMINPLAY 2010-10-29 19324
229 ssh 특정 ip or 특정대역폭만 접속 허용 ADMINPLAY 2012-03-20 19527
228 리눅스에서 테잎드라이브 쓰는방법 ADMINPLAY 2009-12-10 19679

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234