Beruflich Dokumente
Kultur Dokumente
deny ym
deny ymregex
allow manager localhost
deny manager
allow purge localhost
deny purge
deny !safeports
deny CONNECT !sslports
allow localhost
allow localnet
deny all
# NETWORK OPTIONS
# ----------------------------------------------------------------------------http_port 8080 transparent
icp_access deny all
# MEMORY CACHE OPTIONS
# ----------------------------------------------------------------------------cache_mem 8 MB
maximum_object_size_in_memory 32 KB
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
cache_dir aufs /var/spool/squid 25000 59 256
maximum_object_size 128000 KB
cache_swap_low 90
cache_swap_high 95
update_headers off
# LOGFILE PATHNAMES AND CACHE DIRECTORIES
# ----------------------------------------------------------------------------access_log /var/log/squid/access.log
#access_log none
cache_log /var/log/squid/cache.log
#cache_log /dev/null
cache_store_log none
logfile_rotate 5
log_ip_on_direct off
log_icp_queries off
buffered_logs off
netdb_filename none
client_db off
#pid_filename /var/run/squid.pid
# OPTIONS FOR TUNING THE CACHE
# ----------------------------------------------------------------------------cache deny QUERY
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i \.(gif|png|jp?g|ico|bmp|tiff?)$ 10080 95% 43200 override-expi
re override-lastmod reload-into-ims ignore-no-cache ignore-private
refresh_pattern -i \.(rpm|cab|deb|exe|msi|msu|zip|tar|gz|tgz|rar|bin|7z|doc?|xls
?|ppt?|pdf|nth|psd|sis)$ 10080 90% 43200 override-expire override-lastmod reload
-into-ims ignore-no-cache ignore-private
refresh_pattern -i \.(avi|iso|wav|mid|mp?|mpeg|mov|3gp|wm?|swf|flv|x-flv|axd|swf
)$ 43200 95% 432000 override-expire override-lastmod reload-into-ims ignore-no-c
ache ignore-private
refresh_pattern -i \.(html|htm|css|js)$ 1440 75% 40320
refresh_pattern -i \.index.(html|htm)$ 0 75% 10080
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 1440 90% 10080
quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 100
store_avg_object_size 13 KB
# HTTP OPTIONS
# ----------------------------------------------------------------------------server_http11 on
collapsed_forwarding on
vary_ignore_expire on
# TIMEOUTS
# ----------------------------------------------------------------------------forward_timeout 240 second
connect_timeout 30 second
peer_connect_timeout 5 second
read_timeout 600 second
request_timeout 60 second
persistent_request_timeout 60 second
client_lifetime 86400 second
half_closed_clients off
pconn_timeout 60 second
shutdown_lifetime 10 second
# ADMINISTRATIVE PARAMETERS
# ----------------------------------------------------------------------------cache_mgr ibenk
cache_effective_user proxy
cache_effective_group proxy
httpd_suppress_version_string on
visible_hostname ibenk
# ADVANCED NETWORKING OPTIONS
# ----------------------------------------------------------------------------max_filedescriptors 2048
# DNS OPTIONS
# ----------------------------------------------------------------------------check_hostnames off
#DNS NAWALA
dns_nameservers 180.131.144.144
dns_nameservers 180.131.145.145
hosts_file /etc/hosts
ipcache_size 8192
ipcache_low 90
ipcache_high 95
# MISCELLANEOUS
# ----------------------------------------------------------------------------memory_pools off
forwarded_for off
reload_into_ims on
coredump_dir /cache
pipeline_prefetch on
offline_mode off
###### END CONFIGURATION ###########