-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.yml
54 lines (41 loc) · 1.66 KB
/
config.example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# 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