File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed
Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -1679,7 +1679,30 @@ <h3>Proxy</h3>
16791679 key represents either a scheme to be proxied or a string
16801680 "< code > default</ code > " for proxying traffic with not specified schemes, and
16811681 value is < a > proxy specifier</ a > to be used as a proxy server for the traffic
1682- with the given scheme.
1682+ with the given scheme. For example, the configuration below would proxy
1683+ HTTP traffic to "proxy.example.com:443" over HTTPS, HTTPS traffic to
1684+ "proxy.example.com:1080" over SOCKS4, and all other traffic to
1685+ "proxy.example.com:443" over SOCKS5:
1686+
1687+ < pre >
1688+ {
1689+ "http": {
1690+ "host": "proxy.example.com",
1691+ "port": 443,
1692+ "protocol": "https"
1693+ },
1694+ "https": {
1695+ "host": "proxy.example.com",
1696+ "port": 1080,
1697+ "protocol": "socks4"
1698+ },
1699+ "default": {
1700+ "host": "proxy.example.com",
1701+ "port": 443,
1702+ "protocol": "socks5"
1703+ }
1704+ }
1705+ </ pre >
16831706
16841707< p > A < a > shema proxy specifiers</ a > is considered to be a
16851708 < dfn > valid shema proxy specifiers</ dfn > , if each of it's
You can’t perform that action at this time.
0 commit comments