Update proxy.md

Missleading to talk about Wildcards after mention "IP and host", while support them only for hosts without any hint to CIDR..
This commit is contained in:
araisch 2021-03-01 14:24:26 +01:00 committed by GitHub
parent cb2e2e6986
commit b50f1f69c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ configure it in different ways:
You can optionally exclude hosts or ranges from going through the proxy You can optionally exclude hosts or ranges from going through the proxy
server by setting a `noProxy` key to one or more comma-separated IP server by setting a `noProxy` key to one or more comma-separated IP
addresses or hosts. Using the `*` character as a wildcard is supported, as addresses or hosts. Using the `*` character as a wildcard for hosts and using CIDR notation for IP addresses is supported as
shown in this example. shown in this example.
```json ```json
@ -37,7 +37,7 @@ configure it in different ways:
{ {
"httpProxy": "http://127.0.0.1:3001", "httpProxy": "http://127.0.0.1:3001",
"httpsProxy": "http://127.0.0.1:3001", "httpsProxy": "http://127.0.0.1:3001",
"noProxy": "*.test.example.com,.example2.com" "noProxy": "*.test.example.com,.example2.com,127.0.0.0/8"
} }
} }
} }