Merge branch 'proxy-config-examples' into 'next'

Fix proxy config examples in config/proxy.rs

See merge request famedly/conduit!321
This commit is contained in:
Timo Kösters 2022-03-14 14:26:28 +00:00
commit c70c0129f8

View File

@ -10,13 +10,13 @@ use crate::Result;
/// ``` /// ```
/// - Global proxy /// - Global proxy
/// ```toml /// ```toml
/// [proxy] /// [global.proxy]
/// global = { url = "socks5h://localhost:9050" } /// global = { url = "socks5h://localhost:9050" }
/// ``` /// ```
/// - Proxy some domains /// - Proxy some domains
/// ```toml /// ```toml
/// [proxy] /// [global.proxy]
/// [[proxy.by_domain]] /// [[global.proxy.by_domain]]
/// url = "socks5h://localhost:9050" /// url = "socks5h://localhost:9050"
/// include = ["*.onion", "matrix.myspecial.onion"] /// include = ["*.onion", "matrix.myspecial.onion"]
/// exclude = ["*.myspecial.onion"] /// exclude = ["*.myspecial.onion"]