noproxy.md (1216B)
1 --- 2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3 SPDX-License-Identifier: curl 4 Long: noproxy 5 Arg: <no-proxy-list> 6 Help: List of hosts which do not use proxy 7 Added: 7.19.4 8 Category: proxy 9 Multi: single 10 See-also: 11 - proxy 12 Example: 13 - --noproxy "www.example" $URL 14 --- 15 16 # `--noproxy` 17 18 Comma-separated list of hosts for which not to use a proxy, if one is 19 specified. The only wildcard is a single `*` character, which matches all 20 hosts, and effectively disables the proxy. Each name in this list is matched 21 as either a domain which contains the hostname, or the hostname itself. For 22 example, `local.com` would match `local.com`, `local.com:80`, and 23 `www.local.com`, but not `www.notlocal.com`. 24 25 This option overrides the environment variables that disable the proxy 26 (`no_proxy` and `NO_PROXY`) (added in 7.53.0). If there is an environment 27 variable disabling a proxy, you can set the no proxy list to "" to override 28 it. 29 30 IP addresses specified to this option can be provided using CIDR notation 31 (added in 7.86.0): an appended slash and number specifies the number of 32 network bits out of the address to use in the comparison. For example 33 `192.168.0.0/16` would match all addresses starting with `192.168`.