noproxy.d 1.2 KB

123456789101112131415161718192021222324252627
  1. c: Copyright (C) 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. This option overrides the environment variables that disable the proxy
  19. ('no_proxy' and 'NO_PROXY') (added in 7.53.0). If there is an environment
  20. variable disabling a proxy, you can set the no proxy list to "" to override
  21. it.
  22. IP addresses specified to this option can be provided using CIDR notation
  23. (added in 7.86.0): an appended slash and number specifies the number of
  24. "network bits" out of the address to use in the comparison. For example
  25. "192.168.0.0/16" would match all addresses starting with "192.168".