Source

woocode / sa-auto / conf / squid_proxy / squid.old.conf

Full commit
visible_hostname proxy

http_port 3128
cachemgr_passwd www.fetip.com

acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl CONNECT method CONNECT

logformat combined %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
access_log /apps/svr/squid_proxy/var/logs/access.log combined

cache_replacement_policy heap GDSF
memory_replacement_policy heap GDSF
cache_dir null /apps/svr/squid_proxy/var/cache

acl Safe_ports port 80          # http
acl Safe_ports port 110
acl Safe_ports port 21
acl Safe_ports port 443
acl Safe_ports port 1025-65535  # unregistered ports

#http_access allow CONNECT Safe_ports
#http_access deny  CONNECT all

auth_param basic realm Please Login
auth_param basic program /apps/svr/squid_proxy/libexec/ncsa_auth /apps/conf/squid_proxy/squid.passwd
acl VALIDUSER proxy_auth REQUIRED
#http_access allow VALIDUSER
#http_access deny all
http_access allow all
#http_access deny all
auth_param basic children 5

cache_peer 127.0.0.1   parent 8088 0 round-robin originserver no-netdb-exchange weight=1 name=localnginx
cache_peer_domain localnginx  fsa01.ps3.update.playstation.net