سلام
دوستان نظرتون راجع به این کافیگ چیه؟
# WELCOME TO SQUID 2
# ------------------
#
# for the FAQ and other documentation.
################################################## ############################
http_port 3128
################################################## ############################
cache_mem 700 MB
################################################## ############################
maximum_object_size 200000 KB
################################################## ############################
maximum_object_size_in_memory 64 KB
################################################## ############################
auth_param basic children 5
################################################## ############################
auth_param basic realm Squid proxy-caching web server
################################################## ############################
auth_param basic credentialsttl 2 hours
################################################## ############################
request_header_max_size 20 KB
################################################## ############################
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
################################################## ############################
quick_abort_min 16 KB
quick_abort_max 50 KB
quick_abort_pct 70
################################################## ############################
negative_ttl 1 minutes
################################################## ############################
connect_timeout 2 minutes
read_timeout 15 minutes
request_timeout 5 minutes
################################################## ############################
shutdown_lifetime 1 seconds
################################################## ###############################
#Recommended minimum configuration:
acl all src 0.0.0.0/0.0.0.0
acl mynet1 src 185.85.27.0/255.255.255.0
acl mynet2 src 192.168.100.0/255.255.255.0
acl mynet3 src 85.185.27.0/255.255.255.192
acl thiscomp1 src 85.185.27.2/255.255.255.255
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
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 manager all
http_access deny thiscomp1
http_access allow mynet1
http_access allow mynet2
http_access allow mynet3
################################################## ###################
http_reply_access allow all
################################################## ############################
icp_access deny all
################################################## ############################
tcp_outgoing_address 85.185.27.2
################################################## ############################
cache_mgr info
################################################## ############################
visible_hostname cache1
################################################## ############################
httpd_accel_host virtual
httpd_accel_port 80
################################################## ############################
httpd_accel_with_proxy on
################################################## ############################
httpd_accel_uses_host_header on
################################################## ############################
logfile_rotate 2
################################################## ############################
memory_pools on
################################################## ############################
cachemgr_passwd disable cbdata
cachemgr_passwd disable squidaio_counts
cachemgr_passwd disable diskd
cachemgr_passwd disable config
cachemgr_passwd disable ipcache
cachemgr_passwd disable fqdncache
cachemgr_passwd disable external_acl
cachemgr_passwd disable offline_toggle
cachemgr_passwd disable shutdown
cachemgr_passwd disable objects
cachemgr_passwd disable vm_objects
cachemgr_passwd disable openfd_objects
cachemgr_passwd disable active_requests
cachemgr_passwd disable store_io
cachemgr_passwd disable delay
cachemgr_passwd disable asndb
cachemgr_passwd disable server_list
cachemgr_passwd disable non_peers
################################################## ############################
cachemgr_passwd 1234 all
################################################## ############################
offline_mode on
################################################## ############################
coredump_dir /var/spool/squid
################################################## ############################
موضوعات مشابه: