Skip to content

Commit

Permalink
Merge pull request #948 from garden-io/proxy-docs
Browse files Browse the repository at this point in the history
docs: document configuration of proxies
  • Loading branch information
thsig committed Jul 10, 2019
2 parents 20f23b8 + 6e8cd50 commit 1ceb71b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/basics/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,17 @@ To install Docker, please follow the instructions in the [official documentation

If you'd like to use a local Kubernetes cluster, please refer to the [local Kubernetes guide](../using-garden/local-kubernetes.md)
for installation and usage information.

## Using Garden with proxies

If you're running Garden behind a firewall, you may need to use a proxy to route external requests. To do this,
you need to set the `HTTP_PROXY`, `HTTPS_PROXY` and `NO_PROXY` environment variables. For example:

```sh
export HTTP_PROXY=http://localhost:9999 # <- Replace with your proxy address.
export HTTPS_PROXY=$HTTP_PROXY # <- Replace if you use a separate proxy for HTTPS.
export NO_PROXY=local.app.garden,localhost,127.0.0.1 # <- This is important! See below.
```

The `NO_PROXY` variable should include any other hostnames you might use for local development, since you likely
don't want to route local traffic through the proxy.

0 comments on commit 1ceb71b

Please sign in to comment.