-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathglider.conf
28 lines (24 loc) · 926 Bytes
/
glider.conf
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
verbose=True
listen=:15000
# Round Robin
strategy=rr
# This website is not chosen randomly.
# To perform the check, glider sends a CONNECT request
# To the configured domain and port of checkwebsite
# Then send an HTTP GET request on / without negociating TLS
# It expects a response from that request but does not check the
# status.
#
# Some proxies refuse CONNECT requests for target
# whose port is other that 443. So we need checkwebsite to
# finish in :443
# And most websites will simply close the TCP channel without
# responding if you send an HTTP request without TLS on port
# 443. Which thus fails the check while the proxy itself is fine.
# Few domains will reply with a 400 error which is good enough
# for this check.
# Some known domains that do that are :
# httpbin.org // tomorrowland.com // amazon.com // cloudflare.com
# Just choose the most reliable one
check=https://cloudflare.com
checkinterval=60