docs: Switch proxy example to socks5h not socks5 (#18142)
Very rarely when you have a SOCKS proxy configured do you want local DNS. `socks5` does local DNS. `socks5h` does remote DNS.
This commit is contained in:
parent
759646e0a3
commit
f8195c41e0
2 changed files with 6 additions and 6 deletions
|
@ -1029,7 +1029,7 @@
|
||||||
// environment variables.
|
// environment variables.
|
||||||
//
|
//
|
||||||
// Examples:
|
// Examples:
|
||||||
// - "proxy": "socks5://localhost:10808"
|
// - "proxy": "socks5h://localhost:10808"
|
||||||
// - "proxy": "http://127.0.0.1:10809"
|
// - "proxy": "http://127.0.0.1:10809"
|
||||||
"proxy": null,
|
"proxy": null,
|
||||||
// Set to configure aliases for the command palette.
|
// Set to configure aliases for the command palette.
|
||||||
|
|
|
@ -1127,10 +1127,10 @@ The following URI schemes are supported:
|
||||||
|
|
||||||
- `http`
|
- `http`
|
||||||
- `https`
|
- `https`
|
||||||
- `socks4`
|
- `socks4` - SOCKS4 proxy with local DNS
|
||||||
- `socks4a`
|
- `socks4a` - SOCKS4 proxy with remote DNS
|
||||||
- `socks5`
|
- `socks5` - SOCKS5 proxy with local DNS
|
||||||
- `socks5h`
|
- `socks5h` - SOCKS5 proxy with remote DNS
|
||||||
|
|
||||||
`http` will be used when no scheme is specified.
|
`http` will be used when no scheme is specified.
|
||||||
|
|
||||||
|
@ -1148,7 +1148,7 @@ Or to set a `socks5` proxy:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"proxy": "socks5://localhost:10808"
|
"proxy": "socks5h://localhost:10808"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue