[bknr-cvs] hans changed trunk/bknr/web/site/squid.conf
BKNR Commits
bknr at bknr.net
Thu Jul 10 09:32:53 UTC 2008
Revision: 3420
Author: hans
URL: http://bknr.net/trac/changeset/3420
Configuration for squid3.0
U trunk/bknr/web/site/squid.conf
Modified: trunk/bknr/web/site/squid.conf
===================================================================
--- trunk/bknr/web/site/squid.conf 2008-07-09 07:30:39 UTC (rev 3419)
+++ trunk/bknr/web/site/squid.conf 2008-07-10 09:32:53 UTC (rev 3420)
@@ -1,5 +1,25 @@
acl all src 0.0.0.0/0.0.0.0
-http_access allow all
-http_port 80 accel defaultsite=127.0.0.1 vhost vport
-cache_peer 127.0.0.1 parent 8088 0 no-query originserver
-cache_effective_user daemon
+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
+acl Safe_ports port 80 # http
+acl Safe_ports port 21 # ftp
+acl Safe_ports port 443 # https
+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_port 80 accel defaultsite=jasmin.headcraft.de
+cache_peer 127.0.0.1 parent 8081 0 no-query originserver name=myAccel
+acl our_sites dstdomain jasmin.headcraft.de
+http_access allow our_sites
+cache_peer_access myAccel allow our_sites
+cache_peer_access myAccel deny all
+access_log /usr/local/squid/logs/access.log squid
+pipeline_prefetch on
More information about the Bknr-cvs
mailing list