Created
June 26, 2013 10:49
-
-
Save rindek/5866538 to your computer and use it in GitHub Desktop.
.proxy.pac
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
function FindProxyForURL(url, host) { | |
if (shExpMatch(host, "*.dev")) { | |
return "PROXY localhost:3000"; | |
} | |
if (shExpMatch(host, "*.dev2")) { | |
return "PROXY localhost:3001"; | |
} | |
if (shExpMatch(host, "*.dev3")) { | |
return "PROXY localhost:3000"; | |
} | |
if(shExpMatch(host, "*t.proxylocal.com")) { | |
return "PROXY localhost:3000"; | |
} | |
return "DIRECT"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe change dev3 port to 3002 ?