mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-11-19 20:02:00 +01:00
Fix proxy config examples in config/proxy.rs
This commit is contained in:
parent
6788225cac
commit
65fa4b2ca4
1 changed files with 3 additions and 3 deletions
|
@ -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"]
|
||||||
|
|
Loading…
Reference in a new issue