Skip to main content

Proxy Configuration

Configuring Your Application Proxy Server

Every language has it's own nuances for how it works with a forward proxy server for outbound traffic. Select your language to see well-known patterns for that language.

Golang supports HTTP_PROXY and HTTPS_PROXY environment variables to configure outbound http or https requests. For example, when the sidecar is configured as a socks forward proxy:

export HTTP_PROXY='socks5://'
export HTTPS_PROXY='socks5://'

Or alternatively as an http forward proxy:

export HTTP_PROXY=''
export HTTPS_PROXY=''