Bypass Proxy Configuration
By default, the Cloud Agent for Linux operates in non-proxy mode. But in the event that you are already using proxy mode and need to switch to non-proxy mode, you need to configure the 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 a proxy even if any proxy environment variable is set.
Here are the steps to enable the Linux agent to use a no_proxy
for communication with Qualys Cloud Platform:
- Edit
/etc/environment
file. - Add the
no_proxy
variable wherequalys_https_proxy
is configured in the file:
qualys_https_proxy=https://[<username>:<password>@]<host>[:<port>]
no_proxy=<pod domain name>
For init.d based systems, you need to add prefix export
to no_proxy
variable. For example, export no_proxy=<pod domain name>.