feat(config): Add support for HTTP proxies on outgoing requests

This commit is contained in:
Jesse Wierzbinski 2024-06-25 17:13:40 -10:00
parent 0ecb65de29
commit b8b822e553
No known key found for this signature in database
13 changed files with 225 additions and 136 deletions

View file

@ -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