1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2024-07-02 05:58:17 +02:00

Fix proxy config examples in config/proxy.rs

This commit is contained in:
Andrej Kacian 2022-02-22 22:31:34 +01:00
parent 6788225cac
commit 65fa4b2ca4

View file

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