Last active
January 23, 2025 08:44
-
-
Save johnsimcall/a044560b139917b046f2fa3c1c31292c to your computer and use it in GitHub Desktop.
squid behind squid - squid.conf
This file contains hidden or 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
### ACL for Approved/Allowed sites, insert below this line in default config | |
#acl CONNECT method CONNECT | |
acl Approved_Sites dstdomain "/etc/squid/Approved_Sites.txt" | |
http_access deny !Approved_Sites | |
http_access allow Approved_Sites | |
### Force this proxy to use another proxy | |
#cache_peer hostname type http_port icp_port options | |
cache_peer 172.31.255.10 parent 3128 0 default | |
never_direct allow all #send everything to the cache_peer(s) |
This file contains hidden or 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
### REQUIRED ### | |
#vcenter.my-domain.com | |
.openshift.com | |
.quay.io | |
.redhat.com | |
.redhat.io | |
### REQUIRED FOR oc-mirror ### | |
.googleapis.com #need storage.googleapis.com for oc-mirror | |
.github.com #need codeload.github.com for oc-mirror | |
### OPTIONAL ### | |
# .docker.io | |
# .k8s.gcr.io #for nfs-subdir-provisioner |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment