Bypass Proxy Configuration

By default, the Cloud Agent for Unix operates in non-proxy mode. But if you are already using proxy mode and need to switch to non-proxy mode, you need to configure Cloud Agent to use no_proxy in the /etc/environment.

The environment variable no_proxy is used to bypass the proxy. The curl library honors the no_proxy environment variable. If no_proxy is set, curl does not use the proxy even if any proxy environment variable is set. 

Perform the following steps to bypass the configured proxy:

  1. Edit /etc/environment file.
  2. Add the following line (bold) where qualys_https_proxy is mentioned:
    qualys_https_proxy=https://[<username>:<password>@]<host>[:<port>]
    no_proxy=<pod domain name>

 For init.d-based systems, you need to prefix 'export' to the ‘no_proxy’ line.

For example,

qualys_https_proxy=https://[<username>:<password>@]<host>[:<port>]
export no_proxy=<pod domain name>