Created
March 27, 2012 12:20
-
-
Save t10u/2215430 to your computer and use it in GitHub Desktop.
Proxy auto config file for vagrant boxes
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 (dnsDomainIs(host, ".local")) { | |
return "PROXY 33.33.33.66"; | |
} | |
return "DIRECT"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see http://cmorrell.com/webdev/automatic-virtual-hosts-w-proxy-auto-config-768