Skip to content

Instantly share code, notes, and snippets.

@tracyhatemice
Created October 29, 2015 12:09
Show Gist options
  • Save tracyhatemice/6f3af0e7f76184e5391c to your computer and use it in GitHub Desktop.
Save tracyhatemice/6f3af0e7f76184e5391c to your computer and use it in GitHub Desktop.
Squid cache configuration
acl Safe_ports port 80 21 443 563 70 210 280 488 591 777 1025-65535
acl SSL_ports port 443 563
acl CONNECT method CONNECT
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow all
http_port 0.0.0.0:21
via off
request_header_access Allow allow all
request_header_access Authorization allow all
request_header_access WWW-Authenticate allow all
request_header_access Proxy-Authorization allow all
request_header_access Proxy-Authenticate allow all
request_header_access Cache-Control allow all
request_header_access Content-Encoding allow all
request_header_access Content-Length allow all
request_header_access Content-Type allow all
request_header_access Date allow all
request_header_access Expires allow all
request_header_access Host allow all
request_header_access If-Modified-Since allow all
request_header_access Last-Modified allow all
request_header_access Location allow all
request_header_access Pragma allow all
request_header_access Accept allow all
request_header_access Accept-Charset allow all
request_header_access Accept-Encoding allow all
request_header_access Accept-Language allow all
request_header_access Content-Language allow all
request_header_access Mime-Version allow all
request_header_access Retry-After allow all
request_header_access Title allow all
request_header_access Connection allow all
request_header_access Proxy-Connection allow all
request_header_access User-Agent allow all
request_header_access Cookie allow all
request_header_access All deny all
visible_hostname apn.peers.theholysee.va
icp_port 0
cache_mgr admin@example.com
forwarded_for off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment