Skip to main content

Proxy

Kreya uses the system proxy settings by default. It respects the OS settings, which includes environment variables. If your system proxy settings are not accurate, you can customize the settings manually. The active proxy settings apply to all requests made by Kreya.

Proxy environment variables

Environment VariableDescription
HTTP_PROXYProxy server used for HTTP requests.
HTTPS_PROXYProxy server used for HTTPS requests.
ALL_PROXYProxy server used for HTTP and HTTPS request, if HTTP_PROXY and HTTPS_PROXY are not set.
NO_PROXYComma-separated list of hostnames that should be excluded from proxying. Use a leading dot if you want to match a subdomain

Examples:

  • HTTP_PROXY=http://127.0.0.1:1234
  • HTTP_PROXY=http://username:[email protected]:1234
  • NO_PROXY=.example-api.kreya.app

Custom proxy settings Enterprise

Kreya supports custom proxy settings with the Enterprise plan. You may even define multiple different proxy settings, which allows you to easily switch between them later on.

Kreya supports the following protocols for proxies:

  • HTTP
  • HTTPS
  • SOCKS4
  • SOCKS4A
  • SOCKS5

Switch between proxy settings Enterprise

Two proxy settings are always pre-defined by Kreya:

  • None: Do not use a proxy
  • System: Use the OS system proxy settings (the default)

Custom proxy settings will also be selectable once created. Easily switch between proxy settings by clicking the "globe" icon at the lower right corner: