55 lines
1.7 KiB
YAML
55 lines
1.7 KiB
YAML
# Port to run on.
|
|
http_port: 9000
|
|
|
|
# How many proxies will be checked at once?
|
|
proxy_checkers: 50
|
|
|
|
# The interval between proxy checks in seconds.
|
|
proxy_check_interval: 60
|
|
|
|
# URL to get a proxy's IP.
|
|
ip_checker_url: https://api.ipify.org
|
|
|
|
# Connection timeout for the proxies in seconds.
|
|
proxy_connect_timeout: 60
|
|
|
|
# How many times to retry a proxy connection.
|
|
# On each retry a new proxy will be chosen.
|
|
proxy_connect_retries: 3
|
|
|
|
# Use `curl-impersonate` to pretend to be Chrome when testing proxies.
|
|
proxy_check_impersonate_chrome: false
|
|
proxy_check_impersonate_chrome_binary: ./curl_chrome116
|
|
|
|
# Your proxies.
|
|
proxy_pool_ours:
|
|
- http://1.2.3.4:3128
|
|
- http://5.6.7.8:3128
|
|
|
|
# Your third-party proxies.
|
|
proxy_pool_thirdparty:
|
|
- http://username:password@example:10001
|
|
|
|
# URL used to test third-party proxies against.
|
|
# Some proxies just don't work on some domains. If a proxy fails this check it will be marked as
|
|
# "unhealthy" and removed from the general pool.
|
|
thirdparty_test_urls:
|
|
- https://files.catbox.moe/1hvrlj.png
|
|
|
|
# Don't route requests for these domains through the third-party proxies.
|
|
thirdparty_bypass_domains:
|
|
- twitter.com
|
|
|
|
# Shuffle the proxy lists whenever the background thread refreshes them.
|
|
# If false, round-robin on default order.
|
|
shuffle_proxies: false
|
|
|
|
# Don't allow requests to these domains through the proxy.
|
|
blocked_domains:
|
|
- example.com
|
|
|
|
# Resolve specific domains through specific proxies.
|
|
# Proxies here are not validated.
|
|
resolve_through:
|
|
github.com: http://1.2.3.4:3128
|