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