mirror of
https://github.com/versia-pub/server.git
synced 2026-03-12 21:39:15 +01:00
feat(config): ✨ Add support for HTTP proxies on outgoing requests
This commit is contained in:
parent
0ecb65de29
commit
b8b822e553
13 changed files with 225 additions and 136 deletions
|
|
@ -84,13 +84,10 @@ banned_user_agents = [
|
|||
]
|
||||
|
||||
[http.proxy]
|
||||
# For SOCKS proxies (e.g. Tor)
|
||||
# For HTTP proxies (e.g. Tor proxies)
|
||||
# Will be used for all outgoing requests
|
||||
enabled = false
|
||||
host = "127.0.0.1"
|
||||
port = 9050
|
||||
# Can be socks4, socks4a or socks5
|
||||
type = "socks5"
|
||||
address = "http://localhost:8118"
|
||||
|
||||
[http.tls]
|
||||
# If these values are set, Lysand will use these files for TLS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue