Created
January 13, 2017 11:14
-
-
Save earnubs/cab97a24a31b00f62896d2e4d78fc3a8 to your computer and use it in GitHub Desktop.
squid config jenkaas
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
# Allow br0 | |
acl br0 src 192.168.234.140/16 | |
# Allow br1 | |
acl br1 src 172.16.183.160/16 | |
# Example rule allowing access from your local networks. | |
# Adapt localnet in the ACL section to list your (internal) IP networks | |
# from where browsing should be allowed | |
#http_access allow localnet | |
http_access allow localhost | |
http_access allow br1 | |
acl browserstack_com dstdomain .browserstack.com | |
acl registry_npmjs_org dstdomain registry.npmjs.org | |
acl github dstdomain github.com | |
http_access allow br0 browserstack_com | |
http_access allow br0 registry_npmjs_org | |
http_access allow br0 github | |
# And finally deny all other access to this proxy | |
http_access deny all | |
logformat squid %{%Y-%m-%d/%H:%M:%S}tl.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment