Skip to content

Commit 29b39d9

Browse files
example
1 parent 089060d commit 29b39d9

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

index.html

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)