Last active
July 3, 2020 19:05
-
-
Save dmitrysarov/25c62d7289537d60187d79c0bfb3ce75 to your computer and use it in GitHub Desktop.
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
function FindProxyForURL(url, host) { | |
PROXY = "PROXY 10.211.55.4:3128" | |
// Apple.com via proxy | |
if (shExpMatch(host,"*philips.com*")) { | |
return PROXY; | |
} | |
if (shExpMatch(host,"https://confluence.atlas.philips.com")) { | |
return PROXY; | |
} | |
if (shExpMatch(host,"130.*")) { | |
return PROXY; | |
} | |
// Everything else directly! | |
return "DIRECT"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment