[GRLUG] squid configuration troubles

Michael Mol mikemol at gmail.com
Sun Oct 2 16:00:14 EDT 2011


Anyone familiar enough with squid to help me figure out what I'm doing
wrong here? (Running squid3, hence the IPv6 support)

#squid.conf

acl mySites dstdomain rosettacode.org www.rosettacode.org
acl localhost src 127.0.0.1 ::1

http_access allow mySites
cache_dir ufs /var/spool/squid3 10240 15 256

# non-ssl
http_port [2605:2700:0:3::4713:91bf]:80 accel defaultsite=rosettacode.org
http_port 71.19.145.191:80 accel defaultsite=rosettacode.org
cache_peer 127.0.0.1 parent 80 0 no-query originserver name=httpAccel
cache_peer_access httpAccel deny all

# ssl
https_port [2605:2700:0:3::4713:91bf]:443
cert=/etc/ssl/private/ssl.crt key=/etc/ssl/private/ssl.key accel
defaultsite=rosettacode.org
https_port 71.19.145.191:443 cert=/etc/ssl/private/ssl.crt
key=/etc/ssl/private/ssl.key accel defaultsite=rosettacode.org
#cache_peer 127.0.0.1 parent 443 0 no-query originserver name=httpsAccel
#cache_peer_access httpsAccel allow mySites

# Allow purging.
acl PURGE method PURGE
http_access allow PURGE localhost
http_access deny PURGE



-- 
:wq

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the grlug mailing list