mirror of
https://github.com/nadoo/glider.git
synced 2026-11-23 23:49:41 +08:00
proxy chek: 1. improve check method: send a http get request and check the response, if the first 4 byte is "HTTP" then the proxy is avaliable. 2. if a proxy is disabled, increase the check duration. 3. update related docs.
This commit is contained in:
1 parent
8527d48190
commit
a06d56cce0
11 files changed
+51
-40
No files matched your search
@@ -14,8 +14,8 @@ strategy=rr
|
||||
|
||||
# Used to connect via forwarders, if the host is unreachable, the forwarder
|
||||
# will be set to disabled.
|
||||
# MUST BE A HTTP or HTTPS WEBSITE HOST ADDRESS
|
||||
checkwebsite=www.apple.com:443
|
||||
# MUST be a HTTP website server address, format: HOST[:PORT]. HTTPS NOT SUPPORTED.
|
||||
checkwebsite=www.apple.com
|
||||
|
||||
# check duration(seconds)
|
||||
checkduration=30
|
||||
@@ -8,7 +8,7 @@ forward=http://1.1.1.1:8080
|
||||
# High Availability mode: ha
|
||||
strategy=rr
|
||||
|
||||
checkwebsite=www.apple.com:443
|
||||
checkwebsite=www.apple.com
|
||||
checkduration=30
|
||||
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ forward=http://1.1.1.1:8080
|
||||
# High Availability mode: ha
|
||||
strategy=rr
|
||||
|
||||
checkwebsite=www.apple.com:443
|
||||
checkwebsite=www.apple.com
|
||||
checkduration=30
|
||||
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ forward=http://forwarder5:8080,socks6://forwarder3:1080
|
||||
# High Availability mode: ha
|
||||
strategy=rr
|
||||
|
||||
checkwebsite=www.apple.com:443
|
||||
checkwebsite=www.apple.com
|
||||
checkduration=30
|
||||
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
forward=http://forwarder1:8080
|
||||
|
||||
# first connect forwarder1 then forwarder2 then internet
|
||||
# first connect forwarder2 then forwarder3 then internet
|
||||
forward=http://forwarder2:8080,socks5://forwarder3:1080
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ forward=http://forwarder2:8080,socks5://forwarder3:1080
|
||||
# High Availability mode: ha
|
||||
strategy=rr
|
||||
|
||||
checkwebsite=www.apple.com:443
|
||||
checkwebsite=www.apple.com
|
||||
checkduration=30
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user