diff options
Diffstat (limited to 'squid/squid.conf')
-rw-r--r-- | squid/squid.conf | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/squid/squid.conf b/squid/squid.conf deleted file mode 100644 index e1e8ea2f1..000000000 --- a/squid/squid.conf +++ /dev/null @@ -1,84 +0,0 @@ -# /etc/squid/squid.conf -# -# configuration file for squid -# for all options see /etc/squid/squid.conf.default -# - -# Socket address where squid will listen -http_port 3128 - -# email-address of cache manager who will receive -# mail if cache dies -cache_mgr root - -# Effective user/group squid will run -cache_effective_user squid -cache_effective_group squid - -# Directory where cache swap files will be stored -# coos: size 100MB, max. 5K/object -# aufs: size 1000MB, 16/256 subdirecctories -#cache_dir coss /var/squid/coss_01 100 block-size=512 max-size=5120 -cache_dir aufs /var/squid 1000 16 256 - -# Log files -cache_access_log /var/log/squid/access.log -cache_log /var/log/squid/cache.log -cache_store_log /var/log/squid/store.log -cache_swap_log /var/squid/swap_%s.log - -# Where the error-messages and icons are stored -icon_directory /usr/share/squid/icons -error_directory /usr/share/squid/errors - -# Filename to write the process-id to -pid_filename /var/run/squid.pid - -# Refresh pattern -refresh_pattern ^ftp: 1440 20% 10080 -refresh_pattern ^gopher: 1440 0% 1440 -refresh_pattern . 0 20% 4320 - -# Do not cache dynamic content -hierarchy_stoplist cgi-bin ? -refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 - -# Minimum access lists -acl all src 0.0.0.0/0.0.0.0 -acl manager proto cache_object -acl localhost src 127.0.0.1/255.255.255.255 -acl SSL_ports port 443 -acl Safe_ports port 80 # http -acl Safe_ports port 21 # ftp -acl Safe_ports port 443 # 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 - -# ACL for local network -acl local_net src 192.168.0.0/24 - -# Allow cachemgr access from localhost and local network -http_access allow manager localhost -http_access allow manager local_net -http_access deny manager - -# Deny requests to unknown ports -http_access deny !Safe_ports - -# Deny CONNECT to other than SSL ports -http_access deny CONNECT !SSL_ports - -# Allow access from localhost and local network -http_access allow localhost -http_access allow local_net - -# Deny the rest -http_access deny all - -# End of file |