Last active
October 9, 2019 13:50
-
-
Save radenvodka/d26f13fd2f7398d31635bcf17f9330b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http_port 3128 | |
https_port 3128 | |
cache deny all | |
cache_mem 1024 MB | |
dns_v4_first on | |
#hierarchy_stoplist cgi-bin ? | |
access_log none | |
cache_store_log none | |
cache_log /dev/null | |
#access_log daemon:/var/log/squid/access.log squid | |
#cache_log /var/log/squid/cache.log | |
read_ahead_gap 256 MB | |
cache_dir ufs /var/log/squid/cache 100 16 256 | |
refresh_pattern ^ftp: 1440 20% 10080 | |
refresh_pattern ^gopher: 1440 0% 1440 | |
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 | |
refresh_pattern . 0 20% 4320 | |
acl localhost src 127.0.0.2 | |
#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 myhost src 149.147.64.69 | |
acl CONNECT method CONNECT | |
#acl siteblacklist dstdomain "/etc/squid/blacklist.acl" | |
http_access allow myhost | |
http_access allow manager localhost | |
http_access deny manager | |
http_access deny !Safe_ports | |
http_access deny CONNECT !SSL_ports | |
http_access allow SSL_ports | |
#http_access deny siteblacklist | |
dns_nameservers 8.8.8.8 8.8.4.4 | |
#auth_param basic program /usr/lib/squid3/basic_ncsa_auth /etc/squid/passwd | |
#auth_param basic children 5 | |
#auth_param basic realm Squid proxy-caching web server | |
#auth_param basic credentialsttl 2 hours | |
#acl password proxy_auth REQUIRED | |
http_access allow localhost | |
http_access allow password | |
http_access deny all | |
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