Proxy Usage

Page last updated:

Buildpacks can use proxies via the http_proxy and/or https_proxy environment variables. These should be set to the proxy hostname and/or port.

These can be set via the manifest.yml file or cf set-env.

All of the buildpacks will automatically utilize these proxy environment variables correctly. If any of them contact the internet during staging, it will be through the proxy host. The binary buildpack will not use a proxy because it does not use the internet at all during staging.


Note: Whilst many applications will use the http_proxy and https_proxy environment variables at runtime, this is entirely dependent on your application, the buildpack does not add any extra functionality to make proxies work at runtime.

Create a pull request or raise an issue on the source for this page in GitHub