From b743ea8dd4f7d99a4cbed8ec6607dac76f5fffff Mon Sep 17 00:00:00 2001 From: radnan Date: Thu, 20 Jun 2013 14:03:00 -0500 Subject: [PATCH] added documentation for no_proxy env var --- doc/03-cli.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/03-cli.md b/doc/03-cli.md index 992808100..88f2b335a 100644 --- a/doc/03-cli.md +++ b/doc/03-cli.md @@ -417,6 +417,16 @@ some tools like git or curl will only use the lower-cased `http_proxy` version. Alternatively you can also define the git proxy using `git config --global http.proxy `. +### no_proxy + +If you are behind a proxy and would like to disable it for certain domains, you +can use the `no_proxy` env var. Simply set it to a comma separated list of +domains the proxy should *not* be used for. + +The env var accepts domains, IP addresses, and IP address blocks in CIDR +notation. You can restrict the filter to a particular port (e.g. `:80`). You +can also set it to `*` to ignore the proxy for all HTTP requests. + ### HTTP_PROXY_REQUEST_FULLURI If you use a proxy but it does not support the request_fulluri flag, then you @@ -435,7 +445,7 @@ The `COMPOSER_HOME` var allows you to change the composer home directory. This is a hidden, global (per-user on the machine) directory that is shared between all projects. -By default it points to `/home//.composer` on *nix, +By default it points to `/home//.composer` on \*nix, `/Users//.composer` on OSX and `C:\Users\\AppData\Roaming\Composer` on Windows.