blob: dc0522c19a84c6c3d17530b4ca55d44782fb1c43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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.
|