Update config documentation on the basic proxy provider

This commit is contained in:
rlaphoenix 2023-03-01 21:26:52 +00:00
parent d75996f6e4
commit 0b1f327a6c
1 changed files with 9 additions and 3 deletions

View File

@ -243,17 +243,23 @@ CTV: false
Enable external proxy provider services.
### basic (dict)
### basic (list\[dict])
Define a mapping of country to proxy to use where required.
The keys are region Alpha 2 Country Codes. Alpha 2 Country Codes are `[a-z]{2}` codes, e.g., `us`, `gb`, and `jp`.
Don't get this mixed up with language codes like `en` vs. `gb`, or `ja` vs. `jp`.
Do note that each key's value is not a string but a list or sequence.
It will randomly choose which entry to use.
For example,
```yaml
us: "http://john%40email.tld:password123@proxy-us.domain.tld:8080"
de: "http://127.0.0.1:8888"
us:
- "http://john%40email.tld:password123@proxy-us.domain.tld:8080"
- "http://jane%40email.tld:password456@proxy-us.domain2.tld:8080"
de:
- "http://127.0.0.1:8888"
```
### nordvpn (dict)