Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added one more pattern (`compute-*.amazonaws.com`) to the proxy.pac

  • Loading branch information...
commit ea32075358421c75dd4c0cd57adc4734538cb7ae 1 parent 38b459e
Philip (flip) Kromer authored
Showing with 7 additions and 6 deletions.
  1. +7 −6 config/proxy.pac
View
13 config/proxy.pac
@@ -1,11 +1,12 @@
function FindProxyForURL(url, host) {
- if ((shExpMatch(host, "*ec2*.amazonaws.com")) ||
- (shExpMatch(host, "*ec2.internal*")) ||
- (shExpMatch(host, "10.*")) ||
- (shExpMatch(host, "*compute-*.internal*")) ||
- (shExpMatch(host, "*domu*.internal*"))) {
+ if ((shExpMatch(host, "*ec2*.amazonaws.com" )) ||
+ (shExpMatch(host, "*ec2.internal*" )) ||
+ (shExpMatch(host, "*compute-*.amazonaws.com" )) ||
+ (shExpMatch(host, "*compute-*.internal*" )) ||
+ (shExpMatch(host, "*domu*.internal*" )) ||
+ (shExpMatch(host, "10.*" ))
+ ) {
return "SOCKS5 localhost:6666";
}
return "DIRECT";
}
-

0 comments on commit ea32075

Please sign in to comment.
Something went wrong with that request. Please try again.