/* NAME Proxy_Auto-Configuration SYNOPSIS https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Proxy_servers_and_tunneling/Proxy_Auto-Configuration_PAC_file DESCRIPTION - DO280 ocp4.example.com - CL210 overcloud.example.com, lab.example.com, content.example.com, materials.example.com, 172.25.250.50 - DO374 lab.example.com EXAMPLES 代理配置文件 代理配置文件 URL https://opensu.org:8443/proxy.pac */ function FindProxyForURL(url, host) { if (shExpMatch(host, "*.example.com") || shExpMatch(host, "172.25.250.50")) { return "SOCKS5 127.0.0.1:8080"; } else { return "DIRECT"; } }