mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-11-04 19:08:51 +01:00
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:
commit
c70c0129f8
1 changed files with 3 additions and 3 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue