Skip to content

Instantly share code, notes, and snippets.

@pyro2927
Created March 4, 2014 13:45
Show Gist options
  • Save pyro2927/9346727 to your computer and use it in GitHub Desktop.
Save pyro2927/9346727 to your computer and use it in GitHub Desktop.
PAC file to automatically configure your proxy
function FindProxyForURL(url, host) {
PROXY = "PROXY 127.0.0.1:8080; DIRECT"
// plex.tv via proxy
if (shExpMatch(host,"*.plex.tv")) {
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