docs: clarify NO_PROXY further

Fixes #1208
This commit is contained in:
Daniel Stenberg 2017-05-30 22:43:34 +02:00
parent dd97551746
commit 2d5fa35e85
2 changed files with 10 additions and 3 deletions

View file

@ -866,8 +866,11 @@ ENVIRONMENT VARIABLES
If the host name matches one of these strings, or the host is within the
domain of one of these strings, transactions with that node will not be
proxied.
proxied. When a domain is used, it needs to start with a period. A user can
specify that both www.example.com and foo.example.com should not uses a
proxy by setting NO_PROXY to ".example.com". By including the full name you
can exclude specific host names, so to make www.example.com not use a proxy
but still have foo.example.com do it, set NO_PROXY to "www.example.com"
The usage of the -x/--proxy flag overrides the environment variables.