xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 1 | c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al. |
| 2 | SPDX-License-Identifier: curl |
| 3 | Long: noproxy |
| 4 | Arg: <no-proxy-list> |
| 5 | Help: List of hosts which do not use proxy |
| 6 | Added: 7.19.4 |
| 7 | Category: proxy |
| 8 | Example: --noproxy "www.example" $URL |
| 9 | See-also: proxy |
| 10 | Multi: single |
| 11 | --- |
| 12 | Comma-separated list of hosts for which not to use a proxy, if one is |
| 13 | specified. The only wildcard is a single * character, which matches all hosts, |
| 14 | and effectively disables the proxy. Each name in this list is matched as |
| 15 | either a domain which contains the hostname, or the hostname itself. For |
| 16 | example, local.com would match local.com, local.com:80, and www.local.com, but |
| 17 | not www.notlocal.com. |
| 18 | |
| 19 | Since 7.53.0, This option overrides the environment variables that disable the |
| 20 | proxy ('no_proxy' and 'NO_PROXY'). If there's an environment variable |
| 21 | disabling a proxy, you can set the noproxy list to "" to override it. |