In v2.10.0 the Link Agent now supports reading proxy configurations from Proxy Auto-Configuration (PAC) scripts. To configure the Link Agent to use a PAC script, add a proxyAutoConfiguration
setting to your config file (and remove all other proxy settings):
JSON:
{
"proxyAutoConfiguration": {
"auth": {
"proxy1.example.com:8080": {
"username": "my-user-1",
"password": "password-1"
},
"proxy2.example.com:8080": {
"username": "my-user-2",
"password": "password-2"
}
},
"url": "http://proxy.example.com/pac.js"
}
YAML:
proxyAutoConfiguration:
auth:
proxy1.example.com:8080:
username: my-user-1
password: my-password-1
proxy2.example.com:8080:
username: my-user-2
password: my-password-2
url: http://proxy.example.com/pac.js
For more information see the Link Agent Configuration File documentation.