Configure proxy PAC

I dont rewrite the all site of complex, i recommend you to visit the website.

See just a sample of a proxy pac file :

“For this example, we will assume that an organization uses as their domain. They have three hosts (www, webmail and portal) in this domain and one subdomain ( that are on the Internet. The rest of the domain is internal and shouldn’t be proxies.”

Example of proxy.pac
 function FindProxyForURL(url, host) {

 // First start with the exceptions that need to be proxied

 if ((host == "") ||
     (host == "") ||
     (host == "") ||
     (dnsDomainIs(host, ""))) {
          return "PROXY";

 // Next, we want to send all traffic to browser direct

 if (dnsDomainIs(host, "")) {
        return "DIRECT";

 // Default return condition is the proxy, since it’s assumed that everything
 // else is on the Internet.

 return "PROXY";

 } // End of function


Date : 2017.04.25