Permalink
Browse files

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

  • Loading branch information...
1 parent 38b459e commit ea32075358421c75dd4c0cd57adc4734538cb7ae Philip (flip) Kromer committed Nov 20, 2011
Showing with 7 additions and 6 deletions.
  1. +7 −6 config/proxy.pac
View
@@ -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.