Skip to content

Instantly share code, notes, and snippets.

@distributedlock
Last active August 29, 2015 14:05
Show Gist options
  • Save distributedlock/62f64da6c3f67d89d7e2 to your computer and use it in GitHub Desktop.
Save distributedlock/62f64da6c3f67d89d7e2 to your computer and use it in GitHub Desktop.
squid.conf -- Config file for Squid 3 Proxy for HTTP ONLY | /etc/squid3/squid.conf
# Spoofs connections from Squid 3 as a legitimate real user.
acl myhost srcdomain subdomain.proxy.mydomain.com
http_access allow all
http_port 3128
via off
forwarded_for 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment