diff --git a/docs/usage/configuration-options.md b/docs/usage/configuration-options.md index 113aab14e739d03a20fe16b86e8027182ea0c20e..fcf898116b38c41a321ea8047b0d1ee26b024294 100644 --- a/docs/usage/configuration-options.md +++ b/docs/usage/configuration-options.md @@ -1139,13 +1139,16 @@ Example config: { "hostRules": [ { - "matchHost": "github.com", + "matchHost": "api.github.com", "concurrentRequestLimit": 2 } ] } ``` +Use an exact host for `matchHost` and not a domain (e.g. `api.github.com` as shown above and not `github.com`). +Do not combine with `hostType` in the same rule or it won't work. + ### dnsCache Enable got [dnsCache](https://github.com/sindresorhus/got/blob/v11.5.2/readme.md#dnsCache) support.