diff options
author | randomdan <randomdan@localhost> | 2005-08-13 16:34:31 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2005-08-13 16:34:31 +0000 |
commit | 5ce70971b8a13d65518d314581a5263cbcf92580 (patch) | |
tree | f8798ee7686e06a6a6d5247860efa10d08456b03 /etc/squid | |
parent | *** empty log message *** (diff) | |
download | config-5ce70971b8a13d65518d314581a5263cbcf92580.tar.bz2 config-5ce70971b8a13d65518d314581a5263cbcf92580.tar.xz config-5ce70971b8a13d65518d314581a5263cbcf92580.zip |
initial
Diffstat (limited to 'etc/squid')
-rw-r--r-- | etc/squid/squid.conf | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/etc/squid/squid.conf b/etc/squid/squid.conf new file mode 100644 index 0000000..dc0522c --- /dev/null +++ b/etc/squid/squid.conf @@ -0,0 +1,30 @@ +http_port 8080 +acl QUERY urlpath_regex cgi-bin \? +no_cache deny QUERY +cache_mem 90 MB +cache_dir ufs /var/cache/squid/ 260 64 64 +acl manager proto cache_object +acl localhost src 127.0.0.1/255.255.255.255 +acl all src 0.0.0.0/0.0.0.0 +acl allowed_hosts src 192.168.0.0/255.255.255.0 +acl workstation src 194.34.98.65/255.255.255.255 +acl ad_block dstdomain "/etc/squid/ad.sites" +#acl alt_proxy dstdomain "/etc/squid/alt.proxy" +cache_peer proxy.servers.dot parent 8080 0 no-query +cache_peer localhost parent 8081 0 no-query +cache_peer_domain proxy.servers.dot .dot +cache_peer_access proxy.servers.dot allow all +#cache_peer_access localhost allow alt_proxy +#cache_peer_access proxy.servers.dot deny alt_proxy +http_access deny manager all +http_access deny ad_block +http_access allow allowed_hosts +http_access allow workstation +http_access allow localhost +http_access deny all +#never_direct allow alt_proxy +#always_direct deny alt_proxy +cache_mgr randomdan@randomdan.homeip.net +cache_effective_user squid +cache_effective_group web +visible_hostname cache.random.lan. |